body {
    background-color: #f5f5f5;
    min-height: 100vh;
}

.sidebar {
    color: #f2f2f2;
    min-height: 100vh;
}

a {
    color: #f2f2f2;
}

a:hover {
    color: #f2f2f2;
}

.nav-link {
    color: #999999 !important;
    border: 0px !important;
    border-radius: 10px 10px 0px 0px !important;
    background-color: #ffffff !important;
}
.blink_me {
  animation: blinker 0.5s linear infinite;
}

.text-azul {
    color: #3F729B !important;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

.nav-link.active {
    color: #ffffff !important;
    font-weight: bold !important;
    background-color: #3F729B !important;
}

label {
    font-size: 12px !important;
    padding-top: 9px !important;
}

.dataTables_info {
    font-size: 12px !important;
}


th{
    font-size: 12px !important;
    padding: 5px !important;

}

td{
    padding: 5px !important;
    font-size: 12px !important;
}

.btn-unique{
    background-color: #3F729B !important;
}

.pagination .page-item.active .page-link {
    background-color: #3F729B !important;
}

.sidebar-separador {
    background-color: #2E2E2E;
}

ul {
   list-style: none;
}

table thead th {
    text-align: center;
    padding: 0px;
}

th {
    text-align: right;
}

th label {
    font-weight: bold !important;
    padding-top: 0px;
}

.errorlist {
    padding: 0px !important;
    margin: 0px !important;
    color: #999999 !important;
}

.login-bg {
    background-color: #1C2331;
}

.card-login {
    background-color: #FFFFFB;
}

.dropdown-menu a {
    font-size: 12px !important;
}

.container-servico {
    display: block;
    position:relative
}
.ui-autocomplete {
    position: absolute;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}
.inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
}

.inputfile:focus + label,


.spiner-color {
    color: #3F729B !important;
}

.gas_normal {
    color: #3E4551;
}

.table > tbody > tr > td {
     vertical-align: middle;
}

.custom-select-motorista {
    font-size: 12px !important;
}

.w-60 {
    width: 60% !important;
}

.errorlist {
    color: red !important;
}

.hover {
    background:lightblue;
    z-index: 999999;
    overflow: inherit;
}

.bg-cinza {
    background: #C0C0C0!important;
}

.texto-cinza {
    color: #acabab!important;
}

.select2-custom{
    font-size: 14px;
    font-weight: 400;
}

.inputfile-custom-circle {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile-custom-circle + label {
    max-width: 80%;
    font-size: 1rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
}

.inputfile-custom-circle:focus + label,
.inputfile-custom-circle.has-focus + label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.inputfile-custom-circle + label svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
}

.inputfile-custom-circle + label {
    color: #3f729b;
}

.inputfile-custom-circle:focus + label,
.inputfile-custom-circle.has-focus + label,
.inputfile-custom-circle + label:hover {
    color: #3f729bcc;
}

.inputfile-custom-circle + label figure {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3f729b;
    display: block;
    padding: 0 !important;
    margin: 0 !important;
}

.inputfile-custom-circle:focus + label figure,
.inputfile-custom-circle.has-focus + label figure,
.inputfile-custom-circle + label:hover figure {
    background-color: #3f729bcc;
}

.inputfile-custom-circle + label svg {
    padding: 0.625rem;
    width: 100%;
    height: 100%;
    fill: #f1e5e6;
}

.inputfile-custom-circle:disabled + label figure {
    background-color: gray;
}

.switch {
    position: absolute;
    margin-left: -9999px;
    visibility: hidden;
}

.switch + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
}

.switch-custom + label {
    padding: 2px;
    width: 40px;
    height: 20px;
    background-color: #dddddd;
    border-radius: 60px;
}

.switch-custom + label:before,
.switch-custom + label:after {
  display: block;
  position: absolute;
  top: 1px;
  left: 1px;
  bottom: 1px;
  content: '';
}

.switch-custom + label:before {
  right: 1px;
  border-radius: 60px;
  transition: all 0.2s;
}

.switch-yellow + label:before {
    background-color: #fb3;
}

.switch-blue + label:before {
    background-color: #4285f4;
}

.switch-custom + label:after {
  width: 20px;
  background-color: #fff;
  border-radius: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: all 0.2s;
}

.switch-custom:checked + label:before {
    background-color: #8ce196;
}
.switch-custom:checked + label:after {
    transform: translateX(18px);
}

.switch-custom + label .paid, 
.switch-custom + label .unpaid{
    padding-top: 12px;
    font-weight: bold;
    width: max-content;
}

.switch-custom + label .paid,
.switch-custom:checked + label .unpaid {
  display: none;
}

.switch-custom:checked + label .paid,
.switch-custom + label .unpaid {
  display: inline-block;
}

.switch-custom + label .paid{
    color: #03b74c;

}

.table-hover tbody tr:hover {
    background-color: #b0b0b0 !important; /* Escolha a cor que você preferir */
}


.bg-danger-light {
    background-color: rgb(255, 143, 143);
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    background-color: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

body.loading {
    pointer-events: none;
    user-select: none;
    overflow: hidden;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #495057;
}

.filter-group select,
.filter-group input {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 0.875rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.filter-active {
    border-color: #007bff !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

.btn-filter {
    background: #007bff;
    color: white;
    border: 1px solid #007bff;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-filter:hover {
    background: #0056b3;
    border-color: #0056b3;
    color: white;
}

.btn-filter:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
}

.btn-filter-clear {
    background: #6c757d;
    color: white;
    border: 1px solid #6c757d;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-filter-clear:hover {
    background: #545b62;
    border-color: #545b62;
    color: white;
}

.nav-tabs-modern {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0 !important;
}

.nav-link-modern {
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    font-weight: 500;
    color: #6c757d;
    background: #f8f9fa;
    margin-right: 4px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link-modern:hover {
    color: #495057;
    background: #e9ecef;
}

.nav-link-modern.active {
    color: #007bff;
    background: white;
    border-bottom: 2px solid #007bff;
    margin-bottom: -2px;
    position: relative;
    z-index: 1;
}

.nav-link-modern.alert { animation: pulse-alert 2s infinite; }

@keyframes pulse-alert {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

.tab-content-wrapper {
    position: relative;
    margin-top: -1px;
}

.tab-content-wrapper .rounded-lg { border-top-left-radius: 0 !important; }

.tab-pane-modern {
    min-height: 400px;
    padding: 20px;
    position: relative;
    display: none;
}

.tab-pane-modern.active { display: block !important; }
.tab-pane-modern.show { opacity: 1; }

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tab-loading {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.fade-in { animation: fadeIn 0.3s ease-in; }

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.page-header .d-flex[style*="gap:15px"] .rounded-lg {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.page-header .d-flex[style*="gap:15px"] .rounded-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 768px) {
    .d-flex[style*="gap:15px"] {
        flex-direction: column;
        gap: 10px !important;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .nav-link-modern {
        padding: 10px 15px;
        font-size: 0.875rem;
    }
    
    .nav-link-modern span {
        display: none;
    }
    
    .nav-link-modern i {
        margin: 0;
    }
    
    .tab-pane-modern {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .main {
        padding: 10px !important;
    }
    
    .rounded-lg {
        border-radius: 4px !important;
        margin: 0 -10px;
    }
    
    .p-3 {
        padding: 15px !important;
    }
    
    .tab-pane-modern {
        padding: 10px;
    }
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.border {
    border: 1px solid #dee2e6 !important;
}

.bg-white {
    background-color: #fff !important;
}

.datatable-container {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.datatable-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.totals-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.total-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 15px;
    min-width: 100px;
    text-align: center;
}

.total-card .total-label {
    font-size: 0.8rem;
    color: #6c757d;
    display: block;
}

.total-card .total-value {
    font-size: 1.2rem;
    font-weight: bold;
    color: #495057;
}

.datatable-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 35px;
}

.search-box .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    opacity: 0.5;
    margin-bottom: 20px;
}

.btn-custom {
    border-radius: 5px;
    background-color: white;
    color: black;
    border: 1px solid #dee2e6 !important;
    cursor: pointer;
    padding: 8px 16px;
    font-weight: 400;
    position: relative;
    transition: all 0.3s ease;
}

.btn-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-custom:hover {
    color: black;
}

.btn-custom:hover::after {
    opacity: 1;
}

/* ===== MOBILE NAVBAR REDESIGN ===== */

.mobile-navbar {
    background: linear-gradient(135deg, #3F729B 0%, #345f82 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-navbar-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.mobile-navbar-brand:hover {
    color: #fff;
    text-decoration: none;
}

.mobile-navbar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 10px;
    padding: 8px 12px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.mobile-nav-btn:hover,
.mobile-nav-btn:active {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    text-decoration: none;
}

.mobile-nav-btn i {
    font-size: 0.85rem;
}

.mobile-nav-btn-icon {
    padding: 8px 10px;
}

.mobile-nav-btn .badge-danger {
    background: #E53935;
    font-size: 0.6rem;
    padding: 2px 5px;
    border-radius: 8px;
    margin-left: 2px;
    position: relative;
    top: -1px;
}

/* Notification dropdown modernizado */
.mobile-notif-dropdown {
    position: relative;
}

.mobile-notif-menu {
    width: 320px;
    padding: 0;
    border: none;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin-top: 8px;
}

.mobile-notif-header {
    padding: 14px 16px;
    background: linear-gradient(135deg, #3F729B 0%, #345f82 100%);
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-notif-header i {
    font-size: 1rem;
}

.mobile-notif-list {
    max-height: 350px;
    overflow-y: auto;
}

.mobile-notif-item {
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: normal;
}

.mobile-notif-item:hover {
    background: #f8f9fa;
}

.mobile-notif-item-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mobile-notif-item-header i {
    font-size: 0.85rem;
    flex-shrink: 0;
}

.mobile-notif-item-header strong {
    font-size: 0.8rem;
    flex: 1;
    white-space: pre-line;
}

.mobile-notif-item-msg {
    font-size: 0.78rem;
    color: #6c757d;
    margin: 0;
    white-space: pre-line;
    line-height: 1.4;
}

.mobile-notif-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-notif-item-footer small {
    font-size: 0.7rem;
    color: #adb5bd;
}

.mobile-notif-item-footer .btn {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 8px;
}

.mobile-notif-empty {
    text-align: center;
    padding: 40px 20px;
    color: #adb5bd;
}

.mobile-notif-empty i {
    font-size: 2.2rem;
    opacity: 0.4;
    margin-bottom: 8px;
    display: block;
}

.mobile-notif-empty p {
    margin: 0;
    font-size: 0.85rem;
}

/* ===== MOBILE MENU REDESIGN ===== */

.menu-container {
    background: linear-gradient(180deg, #E8EEF2 0%, #F0F2F5 100%);
    min-height: calc(100vh - 56px);
    padding-bottom: 2rem;
}

/* Greeting header - minimalista */
.menu-header {
    padding: 20px 20px 4px;
}

.menu-header-greeting {
    font-size: 0.78rem;
    color: #8E99A4;
    font-weight: 400;
    margin-bottom: 0;
}

.menu-header-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
    line-height: 1.3;
}

.menu-header-date {
    font-size: 0.72rem;
    color: #A0AEC0;
    margin-top: 2px;
}

/* Compact notification alerts */
.menu-alert {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin: 12px 16px 0;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    border: none;
}

.menu-alert-warning {
    background: #FFF3E0;
    color: #E65100;
}

.menu-alert-warning i {
    color: #FFA726;
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.menu-alert-info {
    background: #E3F2FD;
    color: #1565C0;
}

.menu-alert-info i {
    color: #2196F3;
    font-size: 1.1rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.menu-alert a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

/* Primary action card (Diários) */
.menu-card-primary {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin: 16px 16px 8px;
    color: #2D3748;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #3F729B;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-card-primary:hover,
.menu-card-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    color: #2D3748;
    text-decoration: none;
}

.menu-card-primary-icon {
    width: 50px;
    height: 50px;
    background: #EBF4FA;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #3F729B;
    flex-shrink: 0;
    margin-right: 16px;
}

.menu-card-primary-text {
    flex: 1;
}

.menu-card-primary-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
}

.menu-card-primary-subtitle {
    font-size: 0.72rem;
    color: #8E99A4;
    margin: 2px 0 0;
}

.menu-card-primary-arrow {
    font-size: 1rem;
    color: #A0AEC0;
    margin-left: 8px;
}

/* Section label */
.menu-section-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8E99A4;
    padding: 16px 20px 8px;
    margin: 0;
}

/* Grid container */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 16px;
}

/* Individual menu card */
.menu-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 14px;
    padding: 18px 8px 14px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    opacity: 0;
    animation: menuFadeUp 0.3s ease forwards;
}

.menu-card:hover,
.menu-card:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

/* Icon container inside card */
.menu-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Color variants for icon backgrounds */
.menu-icon-blue { background: #E3F2FD; color: #1565C0; }
.menu-icon-green { background: #E8F5E9; color: #2E7D32; }
.menu-icon-orange { background: #FFF3E0; color: #E65100; }
.menu-icon-purple { background: #F3E5F5; color: #7B1FA2; }
.menu-icon-teal { background: #E0F2F1; color: #00695C; }
.menu-icon-red { background: #FFEBEE; color: #C62828; }
.menu-icon-amber { background: #FFF8E1; color: #F57F17; }
.menu-icon-indigo { background: #E8EAF6; color: #283593; }

/* Card label */
.menu-card-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #4A5568;
    text-align: center;
    line-height: 1.2;
}

/* Badge on cards */
.menu-card-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    background: #E53935;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
}

/* Staggered fade-in animation */
@keyframes menuFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card:nth-child(1) { animation-delay: 0.03s; }
.menu-card:nth-child(2) { animation-delay: 0.06s; }
.menu-card:nth-child(3) { animation-delay: 0.09s; }
.menu-card:nth-child(4) { animation-delay: 0.12s; }
.menu-card:nth-child(5) { animation-delay: 0.15s; }
.menu-card:nth-child(6) { animation-delay: 0.18s; }
.menu-card:nth-child(7) { animation-delay: 0.21s; }
.menu-card:nth-child(8) { animation-delay: 0.24s; }
.menu-card:nth-child(9) { animation-delay: 0.27s; }

/* Link color resets for menu cards */
a.menu-card-primary,
a.menu-card-primary:hover,
a.menu-card-primary:active,
a.menu-card,
a.menu-card:hover,
a.menu-card:active {
    color: inherit;
    text-decoration: none;
}

/* Small screen fallback */
@media (max-width: 340px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== LOGIN PAGE REDESIGN ===== */

.login-body {
    background: linear-gradient(160deg, #1C2331 0%, #1a2740 50%, #1C2331 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0;
}

.login-wrapper {
    width: 100%;
    max-width: 400px;
}

.login-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px 32px 36px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.login-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.login-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0 0 4px;
}

.login-subtitle {
    font-size: 0.82rem;
    color: #8E99A4;
    margin: 0 0 24px;
}

.login-alert {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 20px;
    border: none;
    text-align: left;
}

.login-alert i {
    font-size: 1rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.login-alert-danger {
    background: #FFF5F5;
    color: #C53030;
}

.login-alert-danger i { color: #E53935; }

.login-alert-success {
    background: #E3F2FD;
    color: #1565C0;
}

.login-alert-success i { color: #2196F3; }

.login-input-group {
    position: relative;
    margin-bottom: 16px;
}

.login-input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    background: #F7FAFC;
    font-size: 0.9rem;
    color: #2D3748;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.login-input-group .login-input {
    padding-left: 44px;
}

select.login-input,
.login-input-group select.login-input {
    color: #2D3748 !important;
    -webkit-text-fill-color: #2D3748 !important;
    opacity: 1 !important;
    background-color: #F7FAFC !important;
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
    height: auto !important;
    line-height: normal !important;
}

select.login-input option {
    color: #2D3748 !important;
    background: #fff !important;
}

.login-input::placeholder {
    color: #A0AEC0;
}

.login-input:focus {
    border-color: #3F729B;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(63, 114, 155, 0.12);
}

.login-input:focus + i,
.login-input-group:focus-within i {
    color: #3F729B;
}

.login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #3F729B;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background: #2C5270;
}

.login-btn:active {
    transform: scale(0.98);
}

@media (max-width: 440px) {
    .login-card {
        padding: 32px 24px 28px;
        border-radius: 16px;
    }
}

/* ===== DOCUMENTS PAGE REDESIGN ===== */

/* Page header bar - reutilizável em todas as páginas internas */
.page-bar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 14px 16px;
    gap: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.page-bar-back {
    color: #4A5568;
    font-size: 0.9rem;
    text-decoration: none;
    flex-shrink: 0;
    line-height: 1;
}

.page-bar-back:hover {
    color: #2D3748;
    text-decoration: none;
}

.page-bar-info {
    flex: 1;
    min-width: 0;
}

.page-bar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
    line-height: 1.2;
}

.page-bar-subtitle {
    font-size: 0.7rem;
    color: #A0AEC0;
    margin: 2px 0 0;
}

.docs-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.docs-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #F0F2F5;
}

.docs-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-right: 12px;
}

.docs-card-info {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.docs-card-title {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2D3748;
    margin: 0 0 3px;
    line-height: 1.3;
}

.docs-card-date {
    font-size: 0.7rem;
    color: #A0AEC0;
    margin: 0;
}

.docs-card-action {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #EBF4FF;
    color: #3F729B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.docs-card-action:hover {
    background: #D6E8F7;
    color: #3F729B;
    text-decoration: none;
}

.docs-badge {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.docs-badge-signed {
    background: #E8F5E9;
    color: #2E7D32;
}

.docs-badge-pending {
    background: #FFF8E1;
    color: #F57F17;
}

.docs-actions {
    display: flex;
    gap: 8px;
}

.docs-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 10px;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.docs-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}

.docs-btn-view {
    background: #E3F2FD;
    color: #1565C0;
}

.docs-btn-view:hover { color: #1565C0; }

.docs-btn-sign {
    background: #E8F5E9;
    color: #2E7D32;
}

.docs-btn-sign:hover { color: #2E7D32; }

.docs-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid #E2E8F0;
    background: #fff;
    color: #4A5568;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
    transition: background 0.2s ease;
}

.docs-back-btn:hover {
    background: #F7FAFC;
    color: #4A5568;
    text-decoration: none;
}

.docs-empty {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.docs-empty i {
    font-size: 2.2rem;
    color: #CBD5E0;
    margin-bottom: 10px;
    display: block;
}

.docs-empty p {
    color: #8E99A4;
    font-size: 0.85rem;
    margin: 0;
}

/* Document modals */
.docs-modal .modal-content {
    border-radius: 16px;
    border: none;
    overflow: hidden;
}

.docs-modal .modal-header {
    background: linear-gradient(135deg, #3F729B 0%, #345f82 100%);
    color: #fff;
    border-bottom: none;
    padding: 16px 20px;
}

.docs-modal .modal-header .modal-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.docs-modal .modal-header .close {
    color: #fff;
    opacity: 0.8;
    text-shadow: none;
}

.docs-modal .modal-header .close:hover {
    opacity: 1;
}

.docs-modal .modal-body {
    padding: 20px;
}

/* ===== REUSABLE: STATS CARDS ===== */

.stats-row {
    display: flex;
    gap: 10px;
    padding: 0;
}

.stats-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.stats-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2D3748;
    line-height: 1;
    margin: 0;
}

.stats-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: #A0AEC0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 6px 0 0;
}

.stats-card-green .stats-value { color: #2E7D32; }
.stats-card-blue .stats-value { color: #1565C0; }
.stats-card-orange .stats-value { color: #E65100; }
.stats-card-red .stats-value { color: #C62828; }

/* ===== REUSABLE: DATA TABLE ===== */

.data-table-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.data-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.data-table thead th {
    background: #F7FAFC;
    font-size: 0.7rem;
    font-weight: 600;
    color: #8E99A4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 14px;
    border-bottom: 1px solid #EDF2F7;
    text-align: left;
}

.data-table tbody td {
    font-size: 0.82rem;
    color: #2D3748;
    padding: 12px 14px;
    border-bottom: 1px solid #F7FAFC;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* Empty state reutilizável */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.empty-state i {
    font-size: 2.2rem;
    color: #CBD5E0;
    margin-bottom: 10px;
    display: block;
}

.empty-state p {
    color: #8E99A4;
    font-size: 0.85rem;
    margin: 0;
}

/* ===== PRODUTIVIDADE ===== */

.mobile-filter-input {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #2D3748;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    width: 100%;
    cursor: pointer;
    box-sizing: border-box;
}

/* ===== FÉRIAS PAGE ===== */

.ferias-projection {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ferias-projection-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #2D3748;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ferias-projection-title i {
    color: #3F729B;
}

.ferias-projection-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #6c757d;
    padding: 3px 0;
}

.ferias-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    margin-bottom: 12px;
}

.ferias-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2D3748;
    margin: 0;
}

.ferias-request-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    border: none;
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ferias-request-btn:hover {
    opacity: 0.85;
}

.ferias-filters {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 12px;
}

.ferias-filters-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    align-items: end;
}

.ferias-filter-group {
    min-width: 0;
}

.ferias-filter-group label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #8E99A4;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 4px;
    display: block;
}

.ferias-filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    background: #F7FAFC;
    font-size: 0.8rem;
    color: #2D3748;
    appearance: auto;
    -webkit-appearance: menulist;
    outline: none;
    min-height: 40px;
    line-height: 1.4;
    transition: border-color 0.2s ease;
}

.ferias-filter-select:focus {
    border-color: #3F729B;
}

.ferias-filter-btn {
    padding: 8px 14px;
    border-radius: 10px;
    border: none;
    background: #3F729B;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.ferias-filter-btn:hover {
    background: #2C5270;
}

.ferias-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ferias-card-dates {
    font-size: 0.92rem;
    font-weight: 700;
    color: #2D3748;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.ferias-card-dates i {
    color: #3F729B;
    font-size: 0.85rem;
}

.ferias-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ferias-card-days {
    font-size: 0.78rem;
    color: #A0AEC0;
}

.ferias-badge {
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.ferias-badge-approved { background: #E8F5E9; color: #2E7D32; }
.ferias-badge-pending { background: #FFF8E1; color: #F57F17; }
.ferias-badge-rejected { background: #FFEBEE; color: #C62828; }
.ferias-badge-cancelled { background: #FFEBEE; color: #C62828; }
.ferias-badge-draft { background: #F0F2F5; color: #8E99A4; }

.ferias-card-details {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.6;
}

.ferias-card-details a {
    color: #3F729B;
    font-weight: 600;
}

.ferias-cancel-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    border-radius: 10px;
    border: 1.5px solid #FFCDD2;
    background: #fff;
    color: #C62828;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ferias-cancel-btn:hover {
    background: #FFEBEE;
}

.ferias-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 16px 0 8px;
}

.ferias-pagination a,
.ferias-pagination span {
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
}

.ferias-pagination a {
    background: #fff;
    color: #3F729B;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.ferias-pagination a:hover {
    background: #F7FAFC;
    text-decoration: none;
}

.ferias-pagination span {
    color: #A0AEC0;
}

/* Toast modernizado */
.ferias-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 250px;
    display: none;
}

.ferias-toast .alert {
    border-radius: 12px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    font-weight: 500;
}