/* Modern Table Styles */
.modern-table-container {
  display: flex;
  flex-direction: column;
}

.modern-table {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
}

.modern-table-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.modern-table-header-cell {
  display: flex;
  align-items: center;
  padding: 12px 24px;
  background: #FAFAFA;
  border-bottom: 1px solid #EAECF0;
  box-sizing: border-box;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  color: #475467;
}

.modern-table-header-cell:first-child {
  border-top-left-radius: 12px;
}

.modern-table-header-cell:last-child {
  border-top-right-radius: 12px;
}

.modern-table-body {
  display: flex;
  flex-direction: column;
}

.modern-table-row {
  border-bottom: 1px solid #EAECF0;
}

.modern-table-row:last-child {
  border-bottom: none;
}

.modern-table-cell {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  box-sizing: border-box;
  min-height: 62px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: #030712;
  letter-spacing: -0.2px;
}

.modern-table-cell-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.modern-table-cell a {
  color: #009ACD;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.2px;
}

.modern-table-cell a:hover {
  text-decoration: underline;
}

.modern-table-total-row {
  background: #F9FAFB;
  font-weight: 700;
  color: #344054;
}

.modern-table-month-total-row {
  background: #FAFAFA;
  font-weight: 700;
  color: #475569;
}

/* Column width controls */
.modern-table-month-col {
  width: 120px;
  flex: 0 0 120px;
}

.modern-table-agent-col {
  flex: 2;
  min-width: 200px;
}

.modern-table-carrier-col {
  flex: 1;
  min-width: 150px;
}

.modern-table-count-col {
  width: 120px;
  flex: 0 0 120px;
}

.emails-table .email-carrier-col {
  flex: 0 0 6rem;
  width: 6rem;
}

.emails-table .email-subject-col {
  flex: 1 1 0;
  min-width: 0;
}

.emails-table .email-subject-from {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #667085;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
}

.emails-table .email-options-col {
  flex: 0 0 6rem;
  width: 6rem;
  padding-left: 12px;
  padding-right: 16px;
}

.email-forwarded-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #ECFDF3;
  color: #067647;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.email-forward-agent-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.email-forward-button {
  width: 32px;
  height: 32px;
  padding: 0;
}

.forward-email-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #344054;
  font-size: 14px;
  line-height: 20px;
}

.forward-email-option input {
  margin-top: 3px;
}

.forward-email-custom-field {
  margin-top: 8px;
  margin-left: 24px;
}

.forward-email-custom-field input {
  width: 100%;
  border: 1px solid #D0D5DD;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 20px;
  color: #344054;
}

.emails-table .email-type-col {
  flex: 0 0 14rem;
  width: 14rem;
  padding-left: 12px;
  padding-right: 16px;
}

.email-type-badge {
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}

.email-type-badge--neutral {
  background: #F2F4F7;
  color: #344054;
}

.email-type-badge--success {
  background: #ECFDF3;
  color: #067647;
}

.email-type-badge--info {
  background: #E6F6FB;
  color: #026AA2;
}

.email-type-badge--warning {
  background: #FFFAEB;
  color: #B54708;
}

.email-type-badge--danger {
  background: #FEF3F2;
  color: #B42318;
}

@media (max-width: 768px) {
  .modern-table-cell {
    padding: 12px 16px;
    min-height: 60px;
    font-size: 13px;
  }
  
  .modern-table-header-cell {
    padding: 8px 16px;
    font-size: 11px;
  }
  
  .modern-table-month-col {
    width: 80px;
    flex: 0 0 80px;
  }
  
  .modern-table-count-col {
    width: 80px;
    flex: 0 0 80px;
  }
} 
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */
