/**
 * =========================================
 * MP Férias - Admin Panel CSS
 * =========================================
 */

/* Importação de fontes do site */
@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Outfit:wght@100..900&display=swap');

:root {
    /* Cores principais */
    --primary-color: #025e85;
    --secondary-color: #ffa20d;
    --support-white: #fefefe;
    --support-black: #000000;

    /* Variações das cores principais */
    --primary-light: #0a7ba8;
    --primary-dark: #014a6b;
    --secondary-light: #ffb340;
    --secondary-dark: #e6920c;

    /* Cores neutras */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    /* Cores de status */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --error: #ef4444;
    --info: #3b82f6;

    /* Tipografia */
    --font-primary: 'Mulish', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Bordas */
    --border-radius-sm: 0.375rem;
    --border-radius: 0.5rem;
    --border-radius-md: 0.75rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    
    /* Transições */
    --transition-fast: 150ms ease-in-out;
    --transition: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Layout Admin */
    --sidebar-width: 280px;
    --header-height: 70px;
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

/* Textos BRANCOS somente em fundos coloridos */
.sidebar, .sidebar *,
.card-header, .card-header *,
.btn-primary, .btn-primary *,
.btn-secondary, .btn-secondary *,
.btn-success, .btn-success *,
.btn-danger, .btn-danger *,
.btn-warning, .btn-warning *,
.btn-info, .btn-info *,
.btn-dark, .btn-dark *,
.avatar-circle {
    color: white !important;
}

/* Textos AZUIS no conteúdo principal */
.main-content h1, .main-content h2, .main-content h3,
.main-content h4, .main-content h5, .main-content h6,
.card-body h1, .card-body h2, .card-body h3,
.card-body h4, .card-body h5, .card-body h6,
.card-body p, .card-body span:not(.badge),
.card-body div:not(.btn):not(.card-header),
.list-group-item h6, .list-group-item p,
.main-content p:not(.text-muted),
.main-content span:not(.badge):not(.text-muted) {
    color: #025e85 !important;
}

/* Links e textos secundários */
.card-body a:not(.btn) {
    color: #ffa20d !important;
}

.text-muted, .main-content .text-muted {
    color: #6b7280 !important;
}

/* Elementos com fundos coloridos mantêm texto branco */
.bg-primary, .bg-primary *,
.bg-secondary, .bg-secondary *,
.bg-dark, .bg-dark *,
.bg-success, .bg-success *,
.bg-danger, .bg-danger *,
.bg-warning, .bg-warning *,
.bg-info, .bg-info * {
    color: white !important;
}

/* Layout */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--support-white);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.sidebar.collapsed {
    width: 70px;
}

.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: var(--transition);
    background: #ffffff;
}

.sidebar.collapsed + .main-content {
    margin-left: 70px;
}

/* Sidebar Header */
.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.sidebar-logo {
    height: 40px;
    margin-bottom: 0.5rem;
}

.sidebar-header h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    opacity: 0.9;
}

.sidebar.collapsed .sidebar-header h5 {
    display: none;
}

/* Sidebar Navigation */
.sidebar-nav {
    list-style: none;
    padding: 1rem 0;
}

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

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--support-white);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: var(--support-white);
}

.nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--secondary-color);
}

.nav-link i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.nav-link span {
    flex: 1;
}

.nav-link .badge {
    background: var(--secondary-color);
    color: var(--support-white);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    margin-left: auto;
}

.nav-link .badge-danger {
    background: var(--danger);
}

.sidebar.collapsed .nav-link span,
.sidebar.collapsed .nav-link .badge {
    display: none;
}

/* Sidebar Footer */
.sidebar-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details {
    flex: 1;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
}

.user-role {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.2;
}

.sidebar.collapsed .user-details {
    display: none;
}

/* Top Header */
.top-header {
    height: var(--header-height);
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Content Header */
.content-header {
    height: var(--header-height);
    background: var(--support-white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.content-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #025e85 !important;
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Content Body */
.content-body {
    padding: 2rem;
}

/* Cards */
.card {
    background: #ffffff !important;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #025e85, #0a7ba8) !important;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    color: white !important;
}

.card-header h5,
.card-header h6 {
    color: white !important;
    margin: 0;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.card-actions {
    display: flex;
    gap: 0.5rem;
}

.card-body {
    padding: 1.5rem;
    background: #ffffff !important;
    color: #025e85 !important;
}

.card-body h1, .card-body h2, .card-body h3, 
.card-body h4, .card-body h5, .card-body h6,
.card-body p, .card-body span, .card-body div {
    color: #025e85 !important;
}

.card-body a:not(.btn) {
    color: var(--primary-color) !important;
}

.card-body .text-muted {
    color: #6b7280 !important;
}

.list-group-item {
    background: #ffffff !important;
    color: #025e85 !important;
    border: none !important;
    border-bottom: 1px solid var(--gray-200) !important;
}

/* Nav Tabs (Abas) */
.nav-tabs {
    border-bottom: 2px solid var(--gray-200) !important;
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-item {
    margin-bottom: -2px;
}

.nav-tabs .nav-link {
    border: none !important;
    border-bottom: 3px solid transparent !important;
    color: #025e85 !important;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    background: transparent !important;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: #ffa20d !important;
    color: #ffa20d !important;
    background: rgba(255, 162, 13, 0.05) !important;
}

.nav-tabs .nav-link.active {
    border-bottom-color: #025e85 !important;
    color: #025e85 !important;
    background: rgba(2, 94, 133, 0.05) !important;
    font-weight: 700;
}

.nav-tabs .nav-link i {
    font-size: 1rem;
}

/* Stats Cards */
.stats-card {
    background: var(--support-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.stats-card:hover::before {
    width: 6px;
}

.stats-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--support-white);
    flex-shrink: 0;
}

.stats-icon.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.stats-icon.bg-success {
    background: linear-gradient(135deg, var(--success), #059669);
}

.stats-icon.bg-warning {
    background: linear-gradient(135deg, var(--warning), #d97706);
}

.stats-icon.bg-info {
    background: linear-gradient(135deg, var(--info), #2563eb);
}

.stats-content {
    flex: 1;
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.9rem;
    color: #2d2d2d;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stats-change {
    font-size: 0.8rem;
}

.stats-change .text-success {
    color: var(--success) !important;
}

.stats-change .text-danger {
    color: var(--danger) !important;
}

.stats-change .text-muted {
    color: #6b7280 !important;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.activity-item:hover {
    background: #f9fafb;
}

.activity-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--support-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    color: #025e85 !important;
    margin-bottom: 0.25rem;
}

.activity-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.activity-actions {
    display: flex;
    gap: 0.5rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.quick-action:hover {
    background: var(--support-white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.quick-action-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--support-white);
    flex-shrink: 0;
}

.quick-action-content {
    flex: 1;
}

.quick-action-title {
    font-weight: 600;
    color: #025e85 !important;
    margin-bottom: 0.25rem;
}

.quick-action-description {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    margin: 0;
    font-size: 1.1rem;
}

/* Badges */
.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: var(--border-radius);
}

.badge.bg-danger {
    background: var(--danger) !important;
    color: var(--support-white);
}

.badge.bg-success {
    background: var(--success) !important;
    color: var(--support-white);
}

.badge.bg-warning {
    background: var(--warning) !important;
    color: var(--support-white);
}

.badge.bg-info {
    background: var(--info) !important;
    color: var(--support-white);
}

.badge.bg-primary {
    background: var(--primary-color) !important;
    color: var(--support-white);
    transition: var(--transition-fast);
}

.badge.bg-primary:hover {
    background: var(--primary-dark) !important;
    color: var(--support-white) !important;
}

/* Botões - estilo unificado (inspirado em Uiverse) */
.btn {
    line-height: 1;
    text-decoration: none;
    display: inline-flex;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: var(--btn-color, var(--primary-color));
    color: #fff;
    border-radius: 10rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    padding-left: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.25s ease, filter 0.25s ease, transform 0.15s ease;
}

/* Ícone dentro do botão como círculo branco */
.btn i.bi {
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    background-color: #fff;
    color: var(--btn-color, var(--primary-color));
    border-radius: 50%;
    font-size: 14px;
}

/* Ícones de salvar em amarelo */
.btn i.bi-save,
.btn i.bi-check-circle {
    background-color: #fff;
    color: #ffa20d;
}

/* Cores por variante */
.btn-primary { --btn-color: var(--primary-color); }
.btn-secondary { --btn-color: var(--primary-dark); }
.btn-outline { --btn-color: var(--primary-color); }
.btn-white { --btn-color: var(--support-white); color: var(--primary-color); }
.btn-outline-primary { --btn-color: var(--primary-color); background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline-secondary { --btn-color: var(--gray-600); background-color: transparent; color: var(--gray-600); border: 2px solid var(--gray-300); }
.btn-outline-light { --btn-color: rgba(255,255,255,0.8); background-color: transparent; color: rgba(255,255,255,0.8); border: 2px solid rgba(255,255,255,0.3); }
.btn-outline-success { --btn-color: var(--success); background-color: transparent; color: var(--success); border: 2px solid var(--success); }
.btn-outline-danger { --btn-color: var(--danger); background-color: transparent; color: var(--danger); border: 2px solid var(--danger); }
.btn-outline-info { --btn-color: var(--info); background-color: transparent; color: var(--info); border: 2px solid var(--info); }

/* Hovers brand-friendly */
.btn:hover { transform: translateY(-1px); filter: brightness(0.95); }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-secondary:hover { background-color: #003544; }
.btn-outline:hover { background-color: var(--primary-dark); color: #fff; }
.btn-white:hover { background-color: var(--gray-50); color: var(--primary-color); }
.btn-outline-primary:hover { background-color: var(--primary-color); color: #fff !important; border-color: var(--primary-color); }
.btn-outline-secondary:hover { background-color: var(--gray-600); color: #fff !important; border-color: var(--gray-600); }
.btn-outline-light:hover { background-color: rgba(255,255,255,0.1); color: var(--support-white) !important; border-color: rgba(255,255,255,0.5); }
.btn-outline-success:hover { background-color: var(--success); color: #fff !important; border-color: var(--success); }
.btn-outline-danger:hover { background-color: var(--danger); color: #fff !important; border-color: var(--danger); }
.btn-outline-info:hover { background-color: var(--info); color: #fff !important; border-color: var(--info); }
.btn-outline-warning:hover { background-color: var(--warning); color: #fff !important; border-color: var(--warning); }

/* Tamanhos */
.btn-lg { padding: 1rem 2.25rem; font-size: 1.075rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 1200px) {
    .quick-actions {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .content-header {
        padding: 0 1rem;
    }
    
    .content-body {
        padding: 1rem;
    }
    
    .stats-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .activity-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .quick-actions {
        grid-template-columns: 1fr;
    }
    
    .quick-action {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .content-header {
        flex-direction: column;
        height: auto;
        padding: 1rem;
        gap: 1rem;
    }
    
    .header-left,
    .header-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .stats-number {
        font-size: 1.5rem;
    }
    
    .card-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --gray-50: #1f2937;
        --gray-100: #374151;
        --gray-200: #4b5563;
        --gray-300: #6b7280;
        --gray-400: #9ca3af;
        --gray-500: #d1d5db;
        --gray-600: #e5e7eb;
        --gray-700: #f3f4f6;
        --gray-800: #f9fafb;
        --gray-900: #ffffff;
        --support-white: #1f2937;
        --support-black: #ffffff;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

/* =========================================
   Login Page
========================================= */
.login-page {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
}

.login-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url('../../assets/img/arraial-cabo-passeios-pontos-turisticos-e-passeios-conexao123.jpg') center/cover no-repeat;
    opacity: 0.18; /* opacidade baixa da imagem */
    filter: saturate(110%) contrast(105%);
    z-index: 0;
    pointer-events: none;
}

.login-container {
    background: var(--support-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 420px;
    width: 100%;
    position: relative;
    z-index: 1; /* acima do bg com opacidade */
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--support-white);
    padding: 2rem;
    text-align: center;
}

.login-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

.brand-logo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.login-body { padding: 2rem; }

.form-group { margin-bottom: 1.25rem; }

.form-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-md);
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
    width: 100%;
    background: #ffffff;
    color: #025e85 !important;
}

.form-control:hover {
    border-color: var(--gray-300);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(2, 94, 133, 0.08);
    background: #ffffff;
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-label {
    font-weight: 600;
    color: #025e85 !important;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-text {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.375rem;
}

.input-group { position: relative; }

.input-group-text {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    z-index: 10;
    background: none;
    border: none;
    padding: 0;
}

.input-group .form-control { padding-left: 3rem; }

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    z-index: 10;
}

.password-toggle:hover { color: var(--gray-600); }

.alert {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.25rem;
}

.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #dc2626;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border-left: 4px solid #16a34a;
}

.login-footer {
    background: #ffffff;
    padding: 1.5rem 2rem;
    text-align: center;
    border-top: 1px solid var(--gray-200);
}

.login-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.login-footer a:hover { color: var(--primary-light); }

@media (max-width: 480px) {
    .login-container { margin: 1rem; }
    .login-header, .login-body, .login-footer { padding: 1.5rem; }
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}
