/* css/plataforma-styles.css */

/* =================================
   SIDEBAR STYLES
   ================================= */
.platform-main-container {
    display: flex !important;
    flex-grow: 1;
    min-height: 100vh;
}

#sidebarContainer, .sidebar {
    width: 260px;
    background-color: #003d7a;
    color: white;
    display: flex !important;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: width 0.3s ease;
    flex-shrink: 0;
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #005ec4;
    margin-bottom: 1rem;
    text-align: center;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.sidebar nav {
    flex-grow: 1;
    padding: 0 1rem;
}

.nav-item {
    margin-bottom: 0.25rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    color: #e0e7ff;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.nav-link:hover {
    background-color: #005ec4;
    color: white;
}

.nav-link.active {
    background-color: #007bff;
    color: white;
    font-weight: 600;
}

.nav-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
}

/* Separador visual entre seções do menu */
.nav-divider {
    height: 1px;
    background-color: #005ec4;
    margin: 1rem 0;
    opacity: 0.3;
    list-style: none;
}

/* Título de seção no menu */
.nav-section-header {
    padding: 0.75rem 1rem 0.5rem 1rem;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    list-style: none;
}

.nav-section-header:first-child {
    margin-top: 0;
}

.nav-section-header span {
    display: block;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-bottom: 0.5rem;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid #005ec4;
    font-size: 0.75rem;
}

.main-content-area {
    flex-grow: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background-color: #f0f2f5;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

/* Botão Hamburger para Mobile */
.hamburger-button {
    display: none; /* Escondido por padrão, mostrado apenas em mobile/tablet */
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
    background-color: #003d7a;
    color: white;
    border: none;
    border-radius: 0.375rem;
    padding: 0.75rem;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.hamburger-button:hover {
    background-color: #005ec4;
}

.hamburger-button svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.hamburger-button:focus {
    outline: 2px solid #005ec4;
    outline-offset: 2px;
}

/* Overlay para fechar sidebar */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Responsive sidebar - Tablet e Mobile */
@media (max-width: 1024px) {
    .hamburger-button {
        display: flex; /* Mostrar apenas em tablet/mobile */
    }

    .platform-main-container {
        flex-direction: column;
    }

    /* Ajustar main content quando sidebar estiver oculta */
    .main-content-area {
        margin-left: 0 !important;
        padding-top: 4rem !important;
    }

    /* Sidebar fica fixa e escondida por padrão */
    #sidebarContainer, .sidebar {
        width: 260px;
        max-width: 85vw;
        position: fixed;
        left: -260px;
        top: 0;
        height: 100vh;
        z-index: 999;
        transition: left 0.3s ease;
        box-shadow: none;
    }

    /* Sidebar ativa (visível) */
    #sidebarContainer.active, .sidebar.active,
    #sidebarContainer.open, .sidebar.open {
        left: 0;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .hamburger-button {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.625rem;
        width: 44px;
        height: 44px;
    }

    .hamburger-button svg {
        width: 22px;
        height: 22px;
    }

    .main-content-area {
        padding: 3.5rem 1rem 1rem 1rem !important;
    }

    /* Sidebar em mobile ocupa mais espaço */
    #sidebarContainer, .sidebar {
        width: 280px;
        max-width: 85vw;
    }
}

/* Mobile pequeno (max 480px) */
@media (max-width: 480px) {
    .hamburger-button {
        top: 0.5rem;
        left: 0.5rem;
        padding: 0.5rem;
        width: 40px;
        height: 40px;
    }

    .hamburger-button svg {
        width: 20px;
        height: 20px;
    }

    .main-content-area {
        padding: 3rem 0.75rem 0.75rem 0.75rem !important;
    }

    /* Sidebar em mobile pequeno */
    #sidebarContainer, .sidebar {
        width: 260px;
        max-width: 90vw;
    }
}

/* Header */
.platform-header {
    /* background-color: #005EC4; /* primary-bg */
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); /* shadow-lg */
}
.platform-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem; /* px-6 */
    padding-right: 1.5rem; /* px-6 */
    padding-top: 1rem; /* py-4 */
    padding-bottom: 1rem; /* py-4 */
    max-width: 1280px; /* Exemplo de container mx-auto */
}
.platform-header h1 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
}
.platform-header nav a, .platform-header nav button {
    padding: 0.5rem 0.75rem; /* px-3 py-2 */
    border-radius: 0.375rem; /* rounded */
    transition: background-color 0.3s, color 0.3s;
    text-decoration: none;
    color: white;
    background: none;
    border: none;
}
.platform-header nav a:hover, .platform-header nav button:hover {
    background-color: white;
    color: #005EC4; /* primary-text */
}
.platform-header nav #authStatus {
    padding: 0.5rem 0.75rem; /* px-3 py-2 */
}

/* Main Content Area */
.platform-main {
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem; /* p-6 */
    max-width: 1280px; /* Exemplo de container mx-auto */
}
.platform-main h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 600; /* font-semibold */
    margin-bottom: 1.5rem; /* mb-6 */
    /* color: #00244D; /* dark-blue-text */
}
.platform-main .user-info p {
    margin-bottom: 0.5rem; /* mb-2 ou mb-6 para o último */
    font-size: 0.875rem; /* text-sm */
    color: #4B5563; /* text-gray-600 */
}

/* Tabs */
.tabs-container {
    margin-bottom: 1.5rem; /* mb-6 */
}
.tabs-nav-container {
    border-bottom: 1px solid #D1D5DB; /* border-gray-300 */
}
.tabs-nav {
    display: flex;
    margin-bottom: -1px; /* -mb-px */
}
.tab-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 1.5rem; /* py-4 px-6 */
    border-bottom-width: 2px;
    border-color: transparent;
    font-weight: 500; /* font-medium */
    font-size: 0.875rem; /* text-sm */
    color: #6B7280; /* text-gray-500 */
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
}
.tab-button:hover {
    color: #374151; /* hover:text-gray-700 */
    border-color: #D1D5DB; /* hover:border-gray-300 */
}
.tab-button.active-tab {
    color: #005EC4; /* primary-text */
    border-color: #005EC4; /* border-primary-text */
}
.tab-button svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.5rem; /* mr-2 */
}
.tab-content {
    /* Estilos para o conteúdo da aba, se necessário. 'hidden' é controlado por JS */
}
.tab-content.hidden {
    display: none;
}

/* Content Section (cards for each tab) */
.content-section {
    background-color: white;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); /* shadow-xl */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 1.5rem; /* p-6 */
}
.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem; /* mb-6 */
}
.content-header h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600; /* font-semibold */
    color: #374151; /* text-gray-700 */
}
.add-new-button {
    /* background-color: #005EC4; /* primary-bg */
    color: white;
    padding: 0.5rem 1.5rem; /* px-6 py-2 */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); /* shadow */
    display: inline-flex;
    align-items: center;
    border: none;
}
.add-new-button:hover {
    background-color: #004799; /* hover:bg-blue-700 */
}
.add-new-button svg {
    width: 1.25rem; /* w-5 */
    height: 1.25rem; /* h-5 */
    margin-right: 0.5rem; /* mr-2 */
}

/* Filter Container */
.filter-container {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.filter-container .grid {
    display: grid;
    gap: 1rem;
    /* grid-cols-1 md:grid-cols-3 lg:grid-cols-5 - Tailwind classes, use CSS grid as fallback */
}
.filter-container label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
    display: block;
}
.clear-filters-button {
    background-color: #D1D5DB; /* bg-gray-300 */
    color: #1F2937; /* text-gray-800 */
    font-weight: 600; /* font-semibold */
    padding: 0.5rem 1rem; /* py-2 px-4 */
    border-radius: 0.5rem; /* rounded-lg */
    height: calc(2.25rem + 2px); /* Ajuste para alinhar com inputs (0.75rem padding + 1px border * 2) */
    border: none;
    align-self: end; /* Para alinhar com os inputs no grid */
}
.clear-filters-button:hover {
    background-color: #9CA3AF; /* hover:bg-gray-400 */
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}
.data-table {
    min-width: 100%;
    border-collapse: collapse; /* Replaces divide-y */
}
.data-table thead {
    background-color: #F9FAFB; /* bg-gray-50 */
}
.data-table th, .data-table td {
    padding: 0.75rem 1.5rem; /* px-6 py-3 for th, py-4 for td */
    text-align: left;
    font-size: 0.75rem; /* text-xs for th */
    border-bottom: 1px solid #E5E7EB; /* divide-gray-200 */
}
.data-table th {
    font-weight: 500; /* font-medium */
    color: #6B7280; /* text-gray-500 */
    text-transform: uppercase;
    letter-spacing: 0.05em; /* tracking-wider */
}
.data-table td {
    font-size: 0.875rem; /* text-sm */
    color: #374151; /* text-gray-900 or text-gray-500 */
    white-space: nowrap;
}

/* Linhas da tabela de distribuição - coloração específica */
.data-table tr.bg-green-100 {
    background-color: #DCFCE7 !important; /* bg-green-100 */
    border-color: #86EFAC !important; /* border-green-300 */
}

.data-table tr.bg-green-100:hover {
    background-color: #BBF7D0 !important; /* hover:bg-green-200 */
}

/* CSS adicional para garantir que as classes funcionem */
table.data-table tr.bg-green-100 {
    background-color: #DCFCE7 !important;
}

table.data-table tr.bg-green-100:hover {
    background-color: #BBF7D0 !important;
}

/* Força a aplicação das classes Tailwind */
tr.bg-green-100 {
    background-color: #DCFCE7 !important;
    border: 1px solid #86EFAC !important;
}

tr.bg-green-100:hover {
    background-color: #BBF7D0 !important;
}
.data-table .status-badge {
    padding: 0.25rem 0.5rem; /* px-2 */
    display: inline-flex;
    font-size: 0.75rem; /* text-xs */
    line-height: 1.25; /* leading-5 */
    font-weight: 600; /* font-semibold */
    border-radius: 9999px; /* rounded-full */
}
.status-badge.active {
    background-color: #D1FAE5; /* bg-green-100 */
    color: #065F46; /* text-green-800 */
}
.status-badge.inactive {
    background-color: #FEE2E2; /* bg-red-100 */
    color: #991B1B; /* text-red-800 */
}
.action-button {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    background: none;
    border: none;
    margin-right: 0.5rem; /* space-x-2 */
}
.action-button:last-child {
    margin-right: 0;
}
.edit-button {
    color: #4F46E5; /* indigo-600 */
}
.edit-button:hover {
    color: #3730A3; /* indigo-800 */
}
.status-button-active {
    background-color: #FEE2E2; /* red-100, mas para ação de INATIVAR */
    color: #B91C1C; /* red-700 */
}
.status-button-active:hover {
    background-color: #FECACA; /* red-200 */
}
.status-button-inactive {
    background-color: #D1FAE5; /* green-100, mas para ação de ATIVAR */
    color: #065F46; /* green-700 */
}
.status-button-inactive:hover {
    background-color: #A7F3D0; /* green-200 */
}

/* Modal Form Specifics */
.modal-form .grid {
    display: grid;
    gap: 1.5rem; /* gap-6 */
    margin-bottom: 1rem; /* mb-4 */
}
/* Exemplo para grid de 2 colunas em desktop */
@media (min-width: 768px) { /* md breakpoint */
    .modal-form .md-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .modal-form .md-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .modal-form .md-col-span-2 { grid-column: span 2 / span 2; }
}
.modal-form label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
    margin-bottom: 0.25rem; /* mb-1 */
}
.modal-form .form-input.readonly {
    background-color: #F3F4F6; /* bg-gray-100 */
    cursor: not-allowed;
}
.modal-form .field-hint {
    font-size: 0.75rem; /* text-xs */
    color: #6B7280; /* text-gray-500 */
    margin-top: 0.25rem; /* mt-1 */
}
.modal-form hr {
    margin-top: 1.5rem; /* my-6 */
    margin-bottom: 1.5rem;
    border-color: #E5E7EB; /* gray-200 */
}
.modal-form h5 { /* Para subseções como "Endereço" */
    font-size: 1.125rem; /* text-lg */
    font-weight: 600; /* font-semibold */
    color: #374151; /* text-gray-700 */
    margin-bottom: 1rem; /* mb-4 */
}
.modal-form fieldset {
    border: 1px solid #D1D5DB; /* border-gray-300 */
    padding: 1rem; /* p-4 */
    border-radius: 0.5rem; /* rounded-lg */
    margin-bottom: 1.5rem; /* mb-6 */
}
.modal-form fieldset:not(:last-child) {
    /* margin-bottom: 1.5rem; */ /* Já aplicado acima */
}
.modal-form legend {
    font-size: 1rem; /* text-md (ajuste se necessário) */
    font-weight: 600; /* font-semibold */
    color: #374151; /* text-gray-700 */
    padding-left: 0.5rem; /* px-2 */
    padding-right: 0.5rem;
    display: flex;
    align-items: center;
}
.copy-address-button {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    border: 1px solid #005EC4; /* primary-text */
    color: #005EC4; /* primary-text */
    background-color: white;
    border-radius: 0.375rem;
    cursor: pointer;
}
.copy-address-button:hover {
    background-color: #E0F2FE; /* um azul bem claro, ex: blue-50 */
}
.modal-form .radio-group {
    display: flex;
    align-items: center;
    gap: 1rem; /* space-x-4 */
    margin-top: 0.5rem; /* mt-2 */
}
.modal-form .radio-label {
    display: inline-flex;
    align-items: center;
}
.modal-form .form-radio {
    width: 1.25rem; /* h-5 w-5 */
    height: 1.25rem;
    /* color: #005EC4; /* text-primary-text */
    /* Adicione :checked styles se necessário, ou use Tailwind */
}
.modal-form .radio-label span {
    margin-left: 0.5rem; /* ml-2 */
    color: #374151; /* text-gray-700 */
}

/* Confirmation Modal Specifics */
.confirm-modal-content h4 { /* confirmacaoTitle */
    font-size: 1.25rem; /* text-xl */
    font-weight: 600; /* font-semibold */
    color: #1F2937; /* text-gray-800 */
    margin-bottom: 1rem; /* mb-4 */
}
.confirm-modal-content p { /* confirmacaoMessage */
    color: #4B5563; /* text-gray-600 */
    margin-bottom: 1.5rem; /* mb-6 */
}
.confirm-modal-footer button {
    padding: 0.5rem 1rem; /* px-4 py-2 */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 500;
}
.confirm-modal-footer .cancel-button { /* btnCancelarConfirmacao */
    color: #374151; /* text-gray-700 */
    border: 1px solid #D1D5DB; /* border-gray-300 */
}
.confirm-modal-footer .cancel-button:hover {
    background-color: #F3F4F6; /* hover:bg-gray-100 */
}
.confirm-modal-footer .confirm-action-button { /* btnConfirmarAcao */
    color: white;
    /* background-color: #005EC4; /* primary-bg */
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); /* shadow */
}
.confirm-modal-footer .confirm-action-button:hover {
    background-color: #004799; /* hover:bg-blue-700 */
}

/* Esconder elementos que dependem de JS para serem populados, até que estejam prontos */
.hidden-by-default {
    display: none;
}
.hidden-by-default.visible {
    display: block; /* ou o display apropriado */
}

/* --- Responsive Design: Plataforma Styles --- */

.main-header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
.notification-bell-container {
  position: relative;
}
.notification-bell {
  background: none;
  border: none;
  position: relative;
  font-size: 1.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notification-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: #e53935;
  color: #fff;
  border-radius: 50%;
  font-size: 0.85rem;
  padding: 0.2em 0.5em;
  min-width: 22px;
  text-align: center;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.notification-dropdown {
  position: absolute;
  right: 0;
  top: 110%;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  z-index: 200;
  display: block;
  padding: 0;
  overflow: hidden;
}
.dropdown-header, .dropdown-footer {
  padding: 0.75em 1em;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.clear-all-btn, .view-all-btn {
  background: none;
  border: none;
  color: #1976d2;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.25em 0.5em;
  border-radius: 4px;
  transition: background 0.2s;
}
.clear-all-btn:hover, .view-all-btn:hover {
  background: #e3eafc;
}
.notification-list, .all-notifications-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 320px;
  overflow-y: auto;
}
.notification-item {
  padding: 0.75em 1em;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  transition: background 0.2s;
}
.notification-item.unread {
  background: #e3f2fd;
}
.notification-item.read {
  background: #f9f9f9;
  color: #888;
}
.notification-title {
  font-weight: 600;
  margin-bottom: 0.25em;
}
.notification-message {
  font-size: 0.98rem;
  margin-bottom: 0.25em;
}
.notification-meta {
  font-size: 0.85rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 1em;
}
.mark-read-btn {
  background: none;
  border: none;
  color: #388e3c;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.25em 0.5em;
  border-radius: 4px;
  transition: background 0.2s;
}
.mark-read-btn:hover {
  background: #e8f5e9;
}
.no-notifications {
  text-align: center;
  color: #aaa;
  padding: 1.5em 0;
}

/* Responsive: Tablet */
@media (max-width: 900px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5em;
  }
  .notification-dropdown {
    width: 95vw;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

/* Responsive: Mobile */
@media (max-width: 600px) {
  .main-header {
    padding: 0.25rem 0;
  }
  .header-content {
    padding: 0 0.5rem;
  }
  .notification-dropdown {
    width: 100vw;
    left: 0;
    right: 0;
    transform: none;
    border-radius: 0 0 12px 12px;
    max-width: 100vw;
  }
  .notification-list, .all-notifications-list {
    max-height: 50vh;
  }
  .notification-item {
    padding: 0.75em 0.5em;
  }
}

/* Calibration Progress Styles */
.calibration-progress {
  margin: 1rem 0;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.progress-bar {
  width: 100%;
  height: 20px;
  background: #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  font-weight: 600;
  color: #495057;
  font-size: 0.9rem;
}

/* Calibration Factor Display */
.calibration-factor {
  margin: 1rem 0;
  padding: 1.5rem;
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  border: 2px solid #28a745;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.factor-header {
  font-size: 1.2rem;
  font-weight: 700;
  color: #155724;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.factor-details {
  display: grid;
  gap: 0.75rem;
}

.factor-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.factor-label {
  font-weight: 600;
  color: #155724;
  font-size: 0.9rem;
}

.factor-value {
  font-weight: 700;
  color: #155724;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid rgba(40, 167, 69, 0.2);
}
