/* Modern Dashboard Styles */

/* Sidebar Modernization */
.sidenav {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidenav .nav-link {
    border-radius: 12px;
    margin: 4px 12px;
    padding: 12px 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sidenav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sidenav .nav-link.active {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateX(8px);
}

.sidenav .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    border-radius: 0 4px 4px 0;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-shape {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease;
}

.nav-link:hover .icon-shape {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.brand-logo-wrapper {
    position: relative;
}

.brand-logo {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Modern Card Styles */
.modern-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.modern-card .card-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    padding: 20px 25px;
    border-radius: 20px 20px 0 0;
}

.modern-card .card-body {
    padding: 25px;
}

/* Modern Form Styles */
.modern-form .form-control,
.modern-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.modern-form .form-control:focus,
.modern-form .form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
    background: #ffffff;
    transform: translateY(-2px);
}

.modern-form .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Modern Button Styles */
.btn-modern {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-primary-modern {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.btn-success-modern {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.btn-danger-modern {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.btn-warning-modern {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.btn-info-modern {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

/* Modern Table Styles */
.modern-table {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
}

.modern-table thead th {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.modern-table thead th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.modern-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
}

.modern-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.modern-table tbody tr:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.15);
    z-index: 1;
}

.modern-table tbody td {
    padding: 16px 20px;
    vertical-align: middle;
    border: none;
    font-size: 14px;
    color: #2c3e50;
}

.modern-table tbody td:first-child {
    border-left: 4px solid transparent;
}

.modern-table tbody tr:hover td:first-child {
    border-left-color: #3498db;
}

/* Enhanced table cell styling */
.modern-table .status-cell {
    text-align: center;
}

.modern-table .status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-table .status-booked {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.modern-table .status-checked-in {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.modern-table .status-boarded {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.modern-table .status-canceled {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.modern-table .status-no-show {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

/* Action buttons in table */
.modern-table .action-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.modern-table .action-btn {
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modern-table .action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modern-table .action-btn-edit {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.modern-table .action-btn-delete {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.modern-table .action-btn-view {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

/* Modern Modal Styles */
.modern-modal .modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.modern-modal .modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    padding: 25px 30px;
}

.modern-modal .modal-body {
    padding: 30px;
}

.modern-modal .modal-footer {
    border: none;
    padding: 20px 30px 30px;
}

/* Modern Badge Styles */
.badge-modern {
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary-modern {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.badge-success-modern {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.badge-danger-modern {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.badge-warning-modern {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-info-modern {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

/* Modern Alert Styles */
.alert-modern {
    border-radius: 16px;
    border: none;
    padding: 20px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success-modern {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
    color: white;
}

.alert-danger-modern {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

.alert-warning-modern {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.alert-info-modern {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

/* Modern Input Group Styles */
.input-group-modern .input-group-text {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    border: none;
    border-radius: 12px 0 0 12px;
    font-weight: 600;
}

.input-group-modern .form-control {
    border-radius: 0 12px 12px 0;
}

/* Modern Pagination Styles */
.pagination-modern .page-link {
    border: none;
    margin: 0 4px;
    border-radius: 12px;
    color: #3498db;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-modern .page-link:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    transform: translateY(-2px);
}

.pagination-modern .page-item.active .page-link {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

/* Modern Dropdown Styles */
.dropdown-menu-modern {
    border-radius: 16px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
}

.dropdown-item-modern {
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
}

.dropdown-item-modern:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    transform: translateX(8px);
}

/* Modern Progress Bar Styles */
.progress-modern {
    height: 12px;
    border-radius: 20px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-bar-modern {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 20px;
    transition: all 0.3s ease;
}

/* Modern Tooltip Styles */
.tooltip-modern .tooltip-inner {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 12px;
    padding: 8px 16px;
    font-weight: 600;
}

/* Modern Loading Spinner */
.spinner-modern {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin-modern 1s linear infinite;
}

@keyframes spin-modern {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #2c3e50 0%, #2980b9 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidenav {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .modern-card {
        margin: 10px;
    }
    
    .btn-modern {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .modern-card {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .modern-form .form-control {
        background: #4a5568;
        border-color: #718096;
        color: #e2e8f0;
    }
    
    .modern-table {
        background: #2d3748;
        color: #e2e8f0;
    }
    
    .modern-table tbody tr:hover {
        background: #4a5568;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

.slide-up {
    animation: slideUp 0.5s ease-out;
}

.bounce-in {
    animation: bounceIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
}

.bg-gradient-success {
    background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%) !important;
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%) !important;
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.bg-gradient-info {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important;
}

/* Seat Map Modal Specific Styles */
.seatmap-modal {
    z-index: 9999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.seatmap-modal .modal-dialog {
    z-index: 10000 !important;
    position: relative !important;
    margin: 1.75rem auto !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}

.seatmap-modal .modal-content {
    z-index: 10001 !important;
    position: relative !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    overflow: hidden !important;
}

.seatmap-modal .modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%) !important;
    color: white !important;
    border: none !important;
    padding: 20px 25px !important;
    border-radius: 20px 20px 0 0 !important;
}

.seatmap-modal .modal-body {
    padding: 25px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
}

.seatmap-modal .modal-footer {
    border: none !important;
    padding: 20px 25px 25px !important;
    background: #f8f9fa !important;
    border-radius: 0 0 20px 20px !important;
}

/* Ensure modal appears above sidebar */
.sidenav {
    z-index: 1000 !important;
}

/* Responsive adjustments for seat map modal */
@media (max-width: 768px) {
    .seatmap-modal .modal-dialog {
        margin: 0.5rem !important;
        max-width: 95vw !important;
        max-height: 95vh !important;
    }
    
    .seatmap-modal .modal-body {
        padding: 15px !important;
        max-height: 60vh !important;
    }
    
    .seatmap-modal .modal-header,
    .seatmap-modal .modal-footer {
        padding: 15px 20px !important;
    }
}

/* Ensure proper backdrop */
.seatmap-modal::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
    padding-right: 0 !important;
}

/* Enhanced modal animations */
.seatmap-modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}

.seatmap-modal.show .modal-dialog {
    transform: none;
}

/* Close button styling */
.seatmap-modal .btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Ensure proper stacking context */
.seatmap-modal * {
    position: relative;
    z-index: inherit;
}

/* ===========================================
   MODERN LOGIN FORM STYLES
   =========================================== */

/* Modern Login Section */
.modern-login-section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animated Background */
.login-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Airplane Animation */
.airplane-container {
    position: absolute;
    top: 20%;
    left: -100px;
    animation: flyAcross 20s linear infinite;
}

.airplane {
    position: relative;
    width: 80px;
    height: 20px;
}

.airplane-body {
    width: 60px;
    height: 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.airplane-wing {
    position: absolute;
    top: -8px;
    left: 15px;
    width: 30px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    transform: rotate(-5deg);
}

.airplane-tail {
    position: absolute;
    top: 2px;
    right: -8px;
    width: 12px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    transform: rotate(15deg);
}

@keyframes flyAcross {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

/* Clouds Animation */
.clouds {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    animation: float 6s ease-in-out infinite;
}

.cloud-1 {
    width: 80px;
    height: 30px;
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-2 {
    width: 60px;
    height: 25px;
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.cloud-3 {
    width: 100px;
    height: 35px;
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
}

/* Branding Content */
.branding-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.airport-logo i {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.airport-logo h1 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.features-list {
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.feature-item i {
    color: #4ade80;
    font-size: 1.2rem;
}

/* Login Form Container */
.login-form-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    padding: 2rem;
}

/* Modern Login Card */
.modern-login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Card Header */
.card-header-modern {
    text-align: center;
    padding: 2.5rem 2rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.welcome-icon {
    margin-bottom: 1rem;
}

.welcome-icon i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.welcome-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.welcome-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Card Body */
.card-body-modern {
    padding: 2rem;
}

/* Modern Form Styles */
.modern-form {
    width: 100%;
}

.form-group-modern {
    margin-bottom: 1.5rem;
}

.form-label-modern {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-label-modern i {
    color: #667eea;
    font-size: 0.8rem;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-control-modern {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    background: #f9fafb;
    transition: all 0.3s ease;
    outline: none;
}

.form-control-modern:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.input-wrapper.error .form-control-modern {
    border-color: #ef4444;
    background: #fef2f2;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #9ca3af;
    z-index: 2;
    transition: color 0.3s ease;
}

.form-control-modern:focus + .input-icon {
    color: #667eea;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.password-toggle:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* Error Message */
.error-message {
    display: flex;
    align-items: center;
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
}

.form-check-input-modern {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-check-input-modern:checked {
    background: #667eea;
    border-color: #667eea;
}

.form-check-label-modern {
    font-size: 0.9rem;
    color: #6b7280;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    color: #667eea;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Submit Container */
.submit-container {
    margin-top: 2rem;
}

.btn-login-modern {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-login-modern:hover::before {
    left: 100%;
}

.btn-login-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-login-modern:active {
    transform: translateY(0);
}

.btn-loading {
    display: flex;
    align-items: center;
}

/* Card Footer */
.card-footer-modern {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.divider {
    position: relative;
    margin: 1.5rem 0;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #9ca3af;
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* Social Login */
.social-login {
    margin-top: 1rem;
}

.social-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: white;
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
    transform: translateY(-1px);
}

.google-btn i {
    color: #db4437;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .modern-login-section {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    }
    
    .login-form-container {
        max-width: 100%;
        padding: 1rem;
    }
    
    .modern-login-card {
        margin: 1rem 0;
    }
    
    .card-header-modern {
        padding: 2rem 1.5rem 1rem;
    }
    
    .card-body-modern {
        padding: 1.5rem;
    }
    
    .card-footer-modern {
        padding: 1rem 1.5rem 1.5rem;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .airplane-container {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .login-form-container {
        padding: 0.5rem;
    }
    
    .modern-login-card {
        border-radius: 16px;
    }
    
    .card-header-modern {
        padding: 1.5rem 1rem 0.5rem;
    }
    
    .card-body-modern {
        padding: 1rem;
    }
    
    .card-footer-modern {
        padding: 0.5rem 1rem 1rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .welcome-title {
        font-size: 1.3rem;
    }
    
    .welcome-subtitle {
        font-size: 0.9rem;
    }
}

/* Loading State */
.btn-login-modern.loading .btn-text {
    display: none;
}

.btn-login-modern.loading .btn-loading {
    display: flex;
}

/* Focus States for Accessibility */
.form-control-modern:focus,
.btn-login-modern:focus,
.social-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .modern-login-card {
        border: 2px solid #000;
    }
    
    .form-control-modern {
        border: 2px solid #000;
    }
    
    .btn-login-modern {
        border: 2px solid #000;
    }
}