* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --accent-color: #1B998B;
    --light-bg: #F7F7F7;
    --dark-text: #333333;
    --border-color: #ddd;
    --success: #4CAF50;
    --danger: #f44336;

    /* Light Mode (Bright) */
    --bg-primary: #ffffff;
    --bg-secondary: #f5f7fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --header-bg: linear-gradient(135deg, #004E89 0%, #FF6B35 100%);
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Dark Mode */
body.theme-dark {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --header-bg: linear-gradient(135deg, #0a0a0a 0%, #2a2a2a 100%);
    --card-bg: #2d2d2d;
    --shadow: rgba(0, 0, 0, 0.5);
    --border-color: #444444;
}

/* Blue Theme */
body.theme-blue {
    --bg-primary: #e3f2fd;
    --bg-secondary: #f5f9ff;
    --text-primary: #0d47a1;
    --text-secondary: #1565c0;
    --header-bg: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    --card-bg: #ffffff;
    --shadow: rgba(13, 71, 161, 0.1);
    --border-color: #b3e5fc;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

body.theme-light {
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--header-bg);
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

body.theme-light .header {
    background: #ffffff;
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.theme-light .header .logo-text h1,
body.theme-light .header .logo-text p,
body.theme-light .tab-btn {
    color: #1a1a1a;
}

body.theme-light .tab-btn:hover,
body.theme-light .tab-btn.active {
    border-bottom-color: #004E89;
}

body.theme-light .theme-btn {
    background: rgba(0, 78, 137, 0.1);
    color: #004E89;
    border: 2px solid #004E89;
}

body.theme-light .theme-btn:hover {
    background: rgba(0, 78, 137, 0.2);
}

body.theme-light .hamburger-btn span {
    background: #1a1a1a;
}

body.theme-light .logo-icon {
    mix-blend-mode: normal;
    opacity: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    clip-path: circle(45%);
}

.header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    max-width: 1200px;
    padding-left: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 0;
}

.logo-icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    mix-blend-mode: lighten;
    opacity: 0.95;
}

.logo-text h1 {
    font-size: 1.4em;
    margin-bottom: 2px;
    font-weight: 700;
    letter-spacing: -0.5px;
    font-family: 'Raleway', sans-serif;
}

.tagline {
    font-size: 0.9em;
    opacity: 0.9;
    margin: 0;
}

/* Navigation Tabs */
.nav-tabs {
    display: flex;
    gap: 25px;
    margin-left: auto;
    margin-right: 15px;
}

.tab-btn {
    background: none;
    color: white;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 5px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
    border-bottom-color: white;
}

/* Header Controls */
.header-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

/* Theme Switcher */
.theme-switcher {
    position: relative;
}

.theme-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: white;
    transform: scale(1.1);
}

.theme-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow);
    min-width: 200px;
    z-index: 1001;
    margin-top: 8px;
    overflow: hidden;
}

.theme-menu.active {
    display: block;
}

.theme-option {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-size: 1em;
}

.theme-option:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.theme-option.active {
    background: var(--primary-color);
    color: white;
}

/* Hamburger Menu */
.hamburger-btn {
    display: flex;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    flex-direction: column;
    gap: 4px;
    margin-left: auto;
    margin-right: 10px;
}

.hamburger-btn span {
    width: 25px;
    height: 3px;
    background: white;
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    position: absolute;
    top: 65px;
    right: 20px;
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow);
    min-width: 200px;
    z-index: 1000;
    overflow: hidden;
}

.hamburger-menu.active {
    display: block;
}

.menu-item-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    font-size: 1em;
}

.menu-item-btn:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.menu-divider {
    margin: 8px 0;
    border: none;
    border-top: 1px solid var(--border-color);
}

.menu-item {
    display: block;
    color: var(--text-primary);
    text-decoration: none;
    padding: 14px 20px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-top: 1px solid var(--border-color);
}

.menu-item:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

/* Tab Content */
main {
    padding: 40px 0;
    min-height: calc(100vh - 200px);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tab-content h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* Filters */
.filters {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: flex-end;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9em;
    color: var(--text-primary);
}

.filter-group select,
.filter-group input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: background 0.3s ease, color 0.3s ease;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 100%);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #168677;
}

/* Cars Grid */
.cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.car-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.car-image {
    width: 100%;
    height: 280px;
    background: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    color: white;
}

.car-info {
    padding: 20px;
}

.car-name {
    font-size: 1.3em;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.car-details {
    font-size: 0.9em;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.car-price {
    font-size: 1.2em;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.car-status {
    padding: 8px 12px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85em;
    margin-bottom: 15px;
    text-align: center;
}

.status-available {
    background: #e8f5e9;
    color: var(--success);
}

.status-unavailable {
    background: #ffebee;
    color: var(--danger);
}

.car-card button {
    width: 100%;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 30px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    transition: background 0.3s ease, color 0.3s ease;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close:hover {
    color: var(--dark-text);
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.contact-info h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.3em;
}

.info-item {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.info-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 5px;
}

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1em;
    font-family: inherit;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--bg-primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--card-bg);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Home Page Styles */
.home-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 40px 50px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero h2 {
    font-size: 2.2em;
    margin-bottom: 0;
    font-weight: 700;
}

.featured-section {
    margin-bottom: 60px;
}

.featured-section h3,
.testimonials-section h3 {
    font-size: 2em;
    color: var(--text-primary);
    margin-bottom: 30px;
    font-weight: 700;
}

.featured-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.featured-car-card {
    background: var(--card-bg);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 280px;
}

.featured-car-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.featured-car-card .car-image {
    background: white;
    padding: 0;
    text-align: center;
    font-size: 3.5em;
    height: 220px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-car-card .car-info {
    padding: 20px;
}

.featured-car-card .car-name {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.featured-car-card .car-model {
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-bottom: 12px;
}

.featured-car-card .car-price {
    font-size: 1.4em;
    font-weight: 700;
    color: var(--primary-color);
}

.featured-car-card .car-price span {
    font-size: 0.8em;
    color: #999;
}

.browse-more-container {
    text-align: center;
    margin-top: 20px;
}

.browse-more-btn {
    padding: 12px 40px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.browse-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid var(--border-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    width: 100%;
}

.testimonial-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 2px 12px var(--shadow);
    border: none;
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.testimonial-rating {
    font-size: 0.95em;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-size: 0.88em;
    line-height: 1.5;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author {
    margin-bottom: 10px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95em;
    margin-bottom: 3px;
}

.author-location {
    color: var(--text-secondary);
    font-size: 0.8em;
}

.testimonial-car {
    color: var(--primary-color);
    font-size: 0.8em;
    font-weight: 600;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}


/* Employee Portal Section */
.employee-portal-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    min-height: 500px;
}

.employee-portal-card {
    background: var(--card-bg);
    border-radius: 24px;
    box-shadow: 0 8px 30px var(--shadow);
    padding: 50px;
    max-width: 500px;
    text-align: center;
    animation: slideUp 0.5s ease;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.portal-icon {
    font-size: 4em;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.portal-logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.employee-portal-card h3 {
    font-size: 2em;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.employee-portal-card p {
    color: var(--text-secondary);
    font-size: 1.05em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.employee-login-btn {
    display: inline-block;
    padding: 15px 40px;
    font-size: 1.1em;
}

.employee-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }

    .header .container {
        gap: 0;
    }

    .logo {
        gap: 6px;
        margin-left: 0;
    }

    .logo-icon {
        width: 50px;
        height: 50px;
    }

    .logo-text h1 {
        font-size: 1.3em;
        margin-bottom: 0;
    }

    .tagline {
        font-size: 0.7em;
    }

    .nav-tabs {
        display: none;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .hamburger-btn {
        padding: 5px 8px;
    }

    .hamburger-btn span {
        width: 20px;
        height: 2px;
        gap: 3px;
    }

    .hamburger-menu {
        top: 55px;
        right: 10px;
        min-width: 160px;
    }

    .menu-item {
        padding: 12px 16px;
        font-size: 0.95em;
    }

    .filters {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select,
    .filter-group input {
        width: 100%;
        padding: 12px;
        border-radius: 10px;
    }

    #apply-filters {
        width: 100%;
        padding: 14px;
    }

    .cars-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding: 40px 20px;
    }

    .home-hero h2 {
        font-size: 1.8em;
    }

    .home-hero p {
        font-size: 1.1em;
    }

    .featured-section h3,
    .testimonials-section h3 {
        font-size: 1.5em;
    }

    .featured-cars-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .featured-car-card {
        border-radius: 16px;
    }

    .featured-car-card .car-image {
        height: 160px;
    }

    .featured-car-card .car-name {
        font-size: 1.1em;
    }

    .featured-car-card .car-price {
        font-size: 1.2em;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .testimonial-card {
        padding: 18px;
        border-radius: 14px;
    }

    .testimonial-text {
        font-size: 0.85em;
    }

    .author-name {
        font-size: 0.9em;
    }

    .car-card {
        border-radius: 16px;
    }

    .car-image {
        height: 200px;
    }

    .car-info {
        padding: 15px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-form {
        max-width: 100%;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 10px;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 0.95em;
        border-radius: 20px;
        width: 100%;
    }

    .modal-content {
        width: 95%;
        padding: 25px;
    }

    main {
        padding: 20px 0;
    }

    .container {
        padding: 0 15px;
    }

    h2 {
        font-size: 1.8em;
    }

    h3 {
        font-size: 1.3em;
    }
}

/* ===== DASHBOARD STYLES ===== */
.dashboard-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h2 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.dashboard-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-email {
    font-size: 0.95em;
    opacity: 0.9;
}

.test-label {
    background: rgba(255, 193, 7, 0.3);
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.85em;
    border: 1px solid rgba(255, 193, 7, 0.6);
}

.logout-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s;
    font-weight: 500;
}

.logout-btn:hover {
    background: white;
    color: var(--primary-color);
}

.dashboard-content {
    padding: 40px 0;
}

.dashboard-title {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    font-size: 1.2em;
    color: var(--secondary-color);
}

.no-cars {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1em;
}

.welcome-box {
    background: #e3f2fd;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.welcome-box h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.welcome-box p {
    color: #555;
    font-size: 0.95em;
}

/* ===== LOGIN PAGE STYLES ===== */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.login-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    animation: slideUp 0.5s ease;
}

.login-logo {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.login-card h2 {
    text-align: center;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 2em;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
}

.login-card .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95em;
}

.test-badge {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
}

.test-credentials {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.85em;
    line-height: 1.6;
}

.test-credentials strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 8px;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

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

.error-message {
    background: #ffebee;
    color: var(--danger);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: 500;
}

.success-message {
    background: #e8f5e9;
    color: var(--success);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    text-align: center;
    font-weight: 500;
}

/* ===== DASHBOARD MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .dashboard-header .container {
        flex-direction: column;
        gap: 15px;
    }

    .user-info {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
}

/* ===== LOGIN MOBILE RESPONSIVE ===== */
@media (max-width: 480px) {
    .login-card {
        padding: 30px 20px;
    }

    .login-card h2 {
        font-size: 1.5em;
    }

    .test-credentials {
        font-size: 0.8em;
    }
}
