/* Variables */
:root {
    --primary-color: #FF2D20;
    --primary-hover: #E6291C;
    --secondary-color: #6875F5;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --dark: #1F2937;
    --dark-lighter: #374151;
    --gray: #6B7280;
    --gray-light: #E5E7EB;
    --gray-lighter: #F3F4F6;
    --white: #FFFFFF;
    --text-color: #1F2937;
    --border-radius: 0.5rem;
    --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);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-link:hover i {
    opacity: 1;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Hide mobile menu elements on desktop */
.mobile-menu-toggle,
.mobile-sidebar,
.mobile-sidebar-overlay {
    display: none;
}

/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.login-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
}

.register-btn {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.register-btn:hover {
    background: #d91e36;
    border-color: #d91e36;
    color: var(--white);
    text-decoration: none;
    transform: translateY(-1px);
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.user-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
}

.user-dropdown.active .user-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    margin-top: 0.5rem;
}

.user-dropdown.active .user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-lighter);
    font-size: 0.9rem;
}

.user-option:last-child {
    border-bottom: none;
}

.user-option:hover {
    background: var(--gray-lighter);
    color: var(--text-dark);
    text-decoration: none;
    transform: translateX(3px);
}

.user-option i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--text-light);
}

.admin-option {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--primary-color);
}

.admin-option i {
    color: var(--primary-color);
}

.admin-option span {
    color: var(--text-dark);
    font-weight: 600;
}

.admin-option:hover {
    background: rgba(59, 130, 246, 0.15);
    transform: translateX(5px);
}

.user-divider {
    margin: 0.5rem 0;
    border: none;
    border-top: 1px solid var(--gray-light);
}

/* Auth Pages */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.auth-wrapper {
    max-width: 600px;
    width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.auth-wrapper-wide {
    max-width: 800px;
    width: 800px;
    box-sizing: border-box;
}

.auth-card {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2.5rem;
    border: 1px solid var(--gray-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.auth-header h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--gray-dark);
    font-size: 1rem;
    margin: 0;
}

.auth-form {
    margin-bottom: 1.5rem;
}

.turnstile-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-notice {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.email-notice i {
    color: var(--warning-color);
    font-size: 1.25rem;
    margin-top: 0.2rem;
}

.email-notice p {
    margin: 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark);
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--gray);
    z-index: 1;
    font-size: 1rem;
}

.input-group input {
    width: 100%;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--dark);
    margin-top: 0.25rem;
}

.checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-large:hover {
    background: #d91e36;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.3);
}

.btn-large:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.auth-footer p {
    color: var(--gray-dark);
    margin: 0;
}

.auth-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #d91e36;
    text-decoration: none;
}

/* Flash Messages */
.flash-message {
    padding: 1rem 1.25rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-weight: 500;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideIn 0.3s ease;
    position: relative;
    cursor: pointer;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.flash-message:hover {
    opacity: 0.95;
}

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

.flash-message::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 1.25rem;
}

.flash-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.flash-success::before {
    content: '\f058'; /* fa-check-circle */
    color: #28a745;
}

.flash-error {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.flash-error::before {
    content: '\f057'; /* fa-times-circle */
    color: #dc3545;
}

/* Profile Page */
.profile-container {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.profile-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-header h1 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.profile-header p {
    color: var(--gray-dark);
    font-size: 1.1rem;
    margin: 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.profile-card, .stats-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-light);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.card-header h3 {
    color: var(--dark);
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.profile-form {
    padding: 0 1.5rem 1.5rem;
}

.profile-form .form-group {
    margin-bottom: 1.5rem;
}

.profile-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.profile-form input[type="text"],
.profile-form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark);
}

.profile-form input[type="text"]:focus,
.profile-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.1);
}

.profile-form input:disabled {
    background: var(--gray-lighter);
    color: var(--gray);
    cursor: not-allowed;
    border-color: var(--gray-light);
}

.profile-form small {
    display: block;
    margin-top: 0.25rem;
    color: var(--gray);
    font-size: 0.875rem;
    font-style: italic;
}

.profile-form .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.profile-form .btn:hover {
    background: #d91e36;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.3);
}

.profile-form .btn:active {
    transform: translateY(0);
}

.stats-grid {
    padding: 0 1.5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
}

.stat-content h4 {
    color: var(--dark);
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-content p {
    color: var(--gray-dark);
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Responsive - Tablet and below */
@media (max-width: 768px) {
    /* Auth pages */
    .auth-wrapper {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .auth-wrapper-wide {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .auth-header i {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Profile page */
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    /* Navbar - Mobile layout with hamburger menu */
    .navbar .container {
        position: relative;
    }
    
    .navbar-menu {
        display: none; /* Hide desktop menu */
    }
    
    /* Mobile hamburger menu */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: var(--border-radius);
        cursor: pointer;
        transition: all 0.3s ease;
        color: var(--white);
        font-size: 1.2rem;
    }
    
    .mobile-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }
    
    .mobile-menu-toggle.active {
        background: rgba(255, 255, 255, 0.2);
    }
    
    /* Mobile sidebar menu - Laravel style */
    .mobile-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: var(--white);
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }
    
    .mobile-sidebar.active {
        right: 0;
    }
    
    .mobile-sidebar-header {
        padding: 1.5rem;
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .mobile-brand i {
        font-size: 1.5rem;
    }
    
    .mobile-brand h3 {
        margin: 0;
        font-size: 1.2rem;
        font-weight: 700;
    }
    
    .mobile-sidebar-close {
        background: rgba(255, 255, 255, 0.1);
        border: none;
        color: var(--white);
        font-size: 1.25rem;
        cursor: pointer;
        padding: 0.5rem;
        width: 36px;
        height: 36px;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-sidebar-close:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: rotate(90deg);
    }
    
    .mobile-sidebar-content {
        flex: 1;
        overflow-y: auto;
        padding: 1rem 0;
    }
    
    .mobile-user-profile {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        margin: 0 1rem 1rem;
        background: linear-gradient(135deg, rgba(255, 45, 32, 0.05) 0%, rgba(104, 117, 245, 0.05) 100%);
        border-radius: 12px;
        border: 1px solid rgba(255, 45, 32, 0.1);
    }
    
    .mobile-user-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 1.75rem;
        flex-shrink: 0;
    }
    
    .mobile-user-info {
        flex: 1;
        overflow: hidden;
    }
    
    .mobile-user-name {
        font-weight: 700;
        color: var(--dark);
        font-size: 1rem;
        margin-bottom: 0.25rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-user-email {
        font-size: 0.8rem;
        color: var(--gray);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .mobile-menu-section {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }
    
    .mobile-menu-section h4 {
        padding: 0.75rem 1.5rem 0.5rem;
        margin: 0;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--gray);
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .mobile-menu-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 0.875rem 1.5rem;
        color: var(--dark);
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
        cursor: pointer;
        position: relative;
        font-weight: 500;
    }
    
    .mobile-menu-item.admin-option {
        background: rgba(59, 130, 246, 0.1);
        border-left: 4px solid var(--primary-color);
        margin: 0.5rem 0;
    }
    
    .mobile-menu-item.admin-option i {
        color: var(--primary-color);
    }
    
    .mobile-menu-item.admin-option span {
        color: var(--text-dark);
        font-weight: 600;
    }
    
    .mobile-menu-item.admin-option:hover,
    .mobile-menu-item.admin-option:focus {
        background: rgba(59, 130, 246, 0.15);
        transform: translateX(5px);
    }
    
    .mobile-menu-item::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--primary-color);
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-item:hover {
        background: rgba(255, 45, 32, 0.05);
        color: var(--primary-color);
        text-decoration: none;
    }
    
    .mobile-menu-item:hover::before {
        transform: scaleY(1);
    }
    
    .mobile-menu-item i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        color: var(--primary-color);
    }
    
    .mobile-menu-item.logout-item {
        color: #dc3545;
    }
    
    .mobile-menu-item.logout-item i {
        color: #dc3545;
    }
    
    .mobile-menu-item.logout-item:hover {
        background: rgba(220, 53, 69, 0.1);
    }
    
    .mobile-lang-section {
        margin-top: auto;
        background: var(--gray-lighter);
        padding: 1rem 0;
    }
    
    .mobile-lang-options {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .mobile-lang-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: var(--white);
        border: 2px solid var(--gray-light);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--dark);
    }
    
    .mobile-lang-btn:hover {
        border-color: var(--primary-color);
        background: rgba(255, 45, 32, 0.05);
    }
    
    .mobile-lang-btn.active {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: var(--white);
        font-weight: 600;
    }
    
    .lang-flag {
        font-size: 1.5rem;
        line-height: 1;
    }
    
    /* Mobile sidebar overlay */
    .mobile-sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile - Small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Auth pages */
    .auth-container {
        padding: 1rem 0;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .auth-header i {
        font-size: 2rem;
    }
    
    .auth-header h2 {
        font-size: 1.25rem;
    }
    
    .auth-header p {
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    /* Navbar - Small mobile */
    .navbar-brand {
        font-size: 1.1rem;
        padding: 0.25rem 0.5rem;
    }
    
    .navbar-brand i {
        font-size: 1.4rem;
    }
    
    /* Keep brand name visible on small screens */
    .navbar-brand span {
        display: inline;
        font-size: 0.9rem;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .mobile-sidebar {
        width: 300px;
    }
    
    .mobile-sidebar-header {
        padding: 1.25rem;
    }
    
    .mobile-brand h3 {
        font-size: 1.1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-section ul li {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }
    
    /* Profile stats */
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .stat-content h4 {
        font-size: 1.25rem;
    }
    
    .stat-content p {
        font-size: 0.8rem;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.navbar-brand:hover {
    color: var(--white);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navbar-brand i {
    font-size: 2rem;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 120px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.language-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.language-toggle i:first-child {
    font-size: 1rem;
}

.current-lang {
    font-weight: 700;
    min-width: 60px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.language-dropdown.active .language-toggle .dropdown-arrow {
    transform: rotate(180deg);
}

.language-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.language-dropdown.active .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-lighter);
    font-size: 0.9rem;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background: var(--gray-lighter);
    color: var(--text-dark);
    transform: translateX(3px);
}

.language-option.active {
    background: linear-gradient(135deg, rgba(255, 45, 32, 0.1), rgba(255, 108, 55, 0.1));
    color: var(--primary-color);
    font-weight: 600;
}

.language-option i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--text-light);
}

.language-option.active i {
    color: var(--primary-color);
}

.language-option span:first-of-type {
    flex: 1;
    font-weight: 500;
}

.lang-code {
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0.7;
    background: var(--gray-light);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    color: var(--text-light);
}

.language-option.active .lang-code {
    background: var(--primary-color);
    color: var(--white);
    opacity: 1;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
}

/* QR Type Tabs */
.qr-type-tabs {
    display: flex;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow-x: auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--gray);
    font-weight: 500;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: var(--gray-light);
    color: var(--dark);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.3);
}

.tab-btn i {
    font-size: 1.25rem;
}

.tab-btn span {
    font-size: 0.875rem;
    font-weight: 600;
}

/* Main Container */
.main-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

/* Input Section */
.input-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-section h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-input,
.main-select,
.main-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--white);
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.main-input:focus,
.main-select:focus,
.main-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.1);
}

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

/* Options Sections */
.options-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-light);
}

.option-header:hover {
    background: var(--gray-light);
}

.option-header i:first-child {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.125rem;
}

.option-header span {
    flex: 1;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
}

.toggle-icon {
    color: var(--primary-color);
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.option-section.active .toggle-icon {
    transform: rotate(45deg);
}

.option-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.option-content::after {
    content: '';
    display: block;
    height: 1rem;
}

.option-section.active .option-content {
    padding: 1.5rem;
    padding-bottom: 2.5rem;
    max-height: 1000px;
}

/* Card */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    background: var(--gray-lighter);
}

.card-header h2,
.card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}

.card-body {
    padding: 1.5rem;
}

/* QR Type Selector */
.qr-type-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
}

.type-btn i {
    font-size: 1.75rem;
}

.type-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.type-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
}

/* Forms */
.qr-form {
    display: none;
}

.qr-form.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.1);
}

textarea.form-control {
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

/* Color Input */
.color-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.color-picker {
    width: 45px;
    height: 40px;
    min-width: 45px;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 2px;
    background: var(--white);
    align-self: flex-start;
}

.color-picker:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.1);
}

.color-picker::-webkit-color-swatch-wrapper {
    padding: 0;
}

.color-picker::-webkit-color-swatch {
    border: none;
    border-radius: calc(var(--border-radius) - 2px);
}

.color-text {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--dark);
    letter-spacing: 0.5px;
}

.color-text:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 45, 32, 0.15);
    background: var(--white);
}

.color-text::placeholder {
    color: var(--gray);
    text-transform: none;
    opacity: 0.6;
}

/* Range Slider */
.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    outline: none;
    border: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}


/* WebKit (Chrome, Safari, Edge) */
.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: 2px solid var(--white);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 45, 32, 0.4), 0 0 0 2px rgba(255, 45, 32, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin-top: -6px;
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.5), 0 0 0 4px rgba(255, 45, 32, 0.15);
}

.range-slider::-webkit-slider-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 45, 32, 0.6), 0 0 0 3px rgba(255, 45, 32, 0.2);
}

/* WebKit track with progress indicator */
.range-slider::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
}

/* Firefox */
.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border: 2px solid var(--white);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(255, 45, 32, 0.4), 0 0 0 2px rgba(255, 45, 32, 0.1);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-appearance: none;
}

.range-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.5), 0 0 0 4px rgba(255, 45, 32, 0.15);
}

.range-slider::-moz-range-thumb:active {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 45, 32, 0.6), 0 0 0 3px rgba(255, 45, 32, 0.2);
}

/* Firefox track */
.range-slider::-moz-range-track {
    height: 8px;
    border-radius: 4px;
    background: #e5e7eb;
    border: none;
}

/* Logo Selector */
.logo-selector {
    display: grid;
    grid-template-columns: repeat(8, auto);
    gap: 0.5rem;
    justify-content: start;
    margin-bottom: 1.5rem;
}

.logo-option {
    aspect-ratio: 1;
    padding: 0.35rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 50px;
    max-width: 60px;
}

.logo-option img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 28px;
    max-height: 28px;
}

.logo-option span {
    font-size: 0.6rem;
    font-weight: 600;
    text-align: center;
    color: var(--gray);
    line-height: 1.1;
    padding: 0.2rem;
}

.logo-option:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.logo-option.active {
    border-color: var(--primary-color);
    background: rgba(255, 45, 32, 0.05);
}

/* Body Shape Selector */
.body-shape-selector {
    display: grid;
    grid-template-columns: repeat(6, auto);
    gap: 0.5rem;
    justify-content: start;
    margin-bottom: 1rem;
}

.body-shape-option {
    width: 58px;
    height: 58px;
    padding: 0.2rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.body-shape-option img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 48px;
    max-height: 48px;
}

.body-shape-option.active {
    border-color: var(--primary-color);
    background: rgba(255, 45, 32, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 45, 32, 0.2);
}

/* Border Style Selector */
.border-style-selector {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0.5rem;
    justify-content: start;
    margin-bottom: 1rem;
}

.border-style-option {
    width: 58px;
    height: 58px;
    padding: 0.2rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.border-style-option img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 48px;
    max-height: 48px;
}

.border-style-option.active {
    border-color: var(--primary-color);
    background: rgba(255, 45, 32, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 45, 32, 0.2);
}

/* Center Style Selector */
.center-style-selector {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 0.5rem;
    justify-content: start;
    margin-bottom: 1rem;
}

.center-style-option {
    width: 58px;
    height: 58px;
    padding: 0.2rem;
    border: 1.5px solid var(--gray-light);
    border-radius: var(--border-radius);
    background: var(--white);
    cursor: pointer;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.center-style-option img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 48px;
    max-height: 48px;
}

.center-style-option.active {
    border-color: var(--primary-color);
    background: rgba(255, 45, 32, 0.05);
    box-shadow: 0 0 0 2px rgba(255, 45, 32, 0.2);
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px dashed var(--gray-light);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 1rem;
}

.upload-label:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 45, 32, 0.05);
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #0da574;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Preview Panel */
.preview-panel {
    position: sticky;
    top: 6rem;
    align-self: start;
    height: fit-content;
    max-height: calc(100vh - 7rem);
    overflow-y: auto;
}

/* Disable sticky on tablets and mobile for better UX */
@media (max-width: 1024px) {
    .preview-panel {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
}

.sticky {
    position: sticky;
    top: 100px;
}

/* Preview Panel */
.preview-container {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.preview-header i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.preview-header h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
}

.preview-actions {
    display: flex;
    gap: 1rem;
}

.qr-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: var(--gray-lighter);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    padding: 2rem;
    border: 2px dashed var(--gray-light);
}

.qr-placeholder {
    text-align: center;
    color: var(--gray);
}

.qr-placeholder i {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.qr-placeholder p {
    font-size: 1.25rem;
    font-weight: 600;
}

.qr-preview img,
.qr-preview svg,
.qr-preview canvas {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    margin: 0 auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.footer-links li a:hover {
    color: var(--white);
}

.footer-links li a i {
    width: 16px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
}

.footer-separator {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
    font-size: 0.85rem !important;
    opacity: 0.7;
}

.footer i {
    color: var(--primary-color);
}

/* Loading State */
.loading {
    pointer-events: none;
    opacity: 0.6;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Hide navbar nav on mobile */
    .navbar-left {
        gap: 0;
    }
    
    .navbar-nav {
        display: none;
    }
    
    /* QR Generator layout */
    .main-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .config-panel {
        order: 2;
    }
    
    .preview-panel {
        order: 1;
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    .preview-container {
        position: relative;
        top: auto;
        max-height: none;
    }
    
    /* QR Type tabs */
    .qr-type-tabs {
        overflow-x: auto;
        padding: 0.25rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .qr-type-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        min-width: 100px;
        padding: 0.75rem 0.5rem;
        flex-shrink: 0;
    }
    
    .tab-btn i {
        font-size: 1.25rem;
    }
    
    .tab-btn span {
        font-size: 0.75rem;
    }
    
    /* Input sections */
    .input-section {
        padding: 1.5rem;
    }
    
    .input-section h2 {
        font-size: 1.1rem;
    }
    
    /* Form elements */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }
    
    input, select, textarea {
        font-size: 0.95rem;
    }
    
    /* Options sections */
    .options-sections {
        gap: 0.75rem;
    }
    
    .option-section {
        margin-bottom: 0;
    }
    
    .option-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    /* Fix accordion behavior on mobile */
    .option-content {
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
    
    .option-section.active .option-content {
        padding: 1rem !important;
        max-height: 1000px !important;
    }
    
    /* Ensure toggle icon shows correct state */
    .toggle-icon {
        transition: transform 0.3s ease;
    }
    
    .option-section.active .toggle-icon {
        transform: rotate(45deg);
    }
    
    /* Logo selector */
    .logo-selector {
        grid-template-columns: repeat(6, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    /* Body shape selector */
    .body-shape-selector {
        grid-template-columns: repeat(6, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .body-shape-option {
        width: 58px;
        height: 58px;
        padding: 0.2rem;
    }
    
    /* Border style selector */
    .border-style-selector {
        grid-template-columns: repeat(3, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .border-style-option {
        width: 58px;
        height: 58px;
        padding: 0.2rem;
    }
    
    /* Center style selector */
    .center-style-selector {
        grid-template-columns: repeat(4, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .center-style-option {
        width: 58px;
        height: 58px;
        padding: 0.2rem;
    }
    
    .logo-option {
        min-height: 45px;
    }
    
    /* Preview actions */
    .preview-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .preview-actions .btn {
        width: 100%;
    }
    
    /* QR Preview */
    .qr-preview {
        min-height: 300px;
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-column {
        text-align: left;
    }
    
    .footer-title {
        font-size: 1rem;
    }
    
    .footer-links li a {
        font-size: 0.9rem;
    }
    
    .footer-languages {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Footer - mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-title {
        font-size: 0.95rem;
    }
    
    .footer-links li a {
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-separator {
        margin: 1.5rem 0;
    }
    
    /* QR Type tabs - very small screens */
    .tab-btn {
        min-width: 75px;
        padding: 0.5rem 0.25rem;
        font-size: 0.7rem;
    }
    
    .tab-btn i {
        font-size: 1rem;
        margin-bottom: 0.15rem;
    }
    
    .tab-btn span {
        font-size: 0.65rem;
    }
    
    /* Input sections */
    .input-section {
        padding: 1rem;
    }
    
    .input-section h2 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }
    
    /* Form inputs */
    .main-input,
    .main-select,
    .main-textarea,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="url"],
    input[type="tel"],
    select,
    textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.85rem;
    }
    
    /* Logo selector - smaller grid */
    .logo-selector {
        grid-template-columns: repeat(4, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    /* Body shape selector */
    .body-shape-selector {
        grid-template-columns: repeat(4, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .body-shape-option {
        width: 58px;
        height: 58px;
        padding: 0.15rem;
    }
    
    /* Border style selector */
    .border-style-selector {
        grid-template-columns: repeat(3, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .border-style-option {
        width: 58px;
        height: 58px;
        padding: 0.15rem;
    }
    
    /* Center style selector */
    .center-style-selector {
        grid-template-columns: repeat(4, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .center-style-option {
        width: 58px;
        height: 58px;
        padding: 0.15rem;
    }
    
    .logo-option {
        min-height: 40px;
        padding: 0.25rem;
    }
    
    .logo-option img {
        max-width: 22px;
        max-height: 22px;
    }
    
    .logo-option span {
        font-size: 0.6rem;
    }
    
    /* Options accordion */
    .option-header {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .option-header i {
        font-size: 0.9rem;
    }
    
    /* Fix accordion behavior on small mobile */
    .option-content {
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
    
    .option-section.active .option-content {
        padding: 1rem !important;
        max-height: 1000px !important;
    }
    
    /* Toggle icon rotation */
    .toggle-icon {
        transition: transform 0.3s ease;
    }
    
    .option-section.active .toggle-icon {
        transform: rotate(45deg);
    }
    
    /* Color pickers and sliders */
    .color-picker-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    input[type="color"] {
        width: 100%;
        height: 50px;
    }
    
    input[type="range"] {
        width: 100%;
    }
    
    /* Preview container */
    .preview-container {
        padding: 1rem;
    }
    
    .preview-header h2 {
        font-size: 1rem;
    }
    
    .qr-preview {
        min-height: 250px;
        padding: 1rem;
    }
    
    .qr-placeholder i {
        font-size: 2.5rem;
    }
    
    .qr-placeholder p {
        font-size: 0.85rem;
    }
    
    /* Preview actions - buttons */
    .preview-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Upload label */
    .upload-label {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Language dropdown */
    .language-menu {
        min-width: 140px;
        right: 0;
        left: auto;
    }
    
    .language-option {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }
    
    .lang-code {
        font-size: 0.7rem;
        padding: 0.2rem 0.35rem;
    }
    
    /* User menu */
    .user-menu {
        min-width: 160px;
    }
    
    .user-option {
        padding: 0.6rem 0.85rem;
        font-size: 0.85rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
}

/* Extra small devices - Very small phones */
@media (max-width: 360px) {
    /* Navbar - Ultra compact */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1rem;
        padding: 0.2rem 0.4rem;
    }
    
    .navbar-brand i {
        font-size: 1.25rem;
    }
    
    .auth-btn,
    .user-toggle,
    .language-toggle {
        padding: 0.35rem 0.4rem;
        font-size: 0.75rem;
    }
    
    /* QR tabs */
    .tab-btn {
        min-width: 65px;
        padding: 0.4rem 0.2rem;
    }
    
    .tab-btn i {
        font-size: 0.9rem;
    }
    
    .tab-btn span {
        font-size: 0.6rem;
    }
    
    /* Forms */
    .input-section {
        padding: 0.75rem;
    }
    
    /* Fix accordion behavior on extra small mobile */
    .option-content {
        padding: 0 !important;
        max-height: 0 !important;
        overflow: hidden !important;
    }
    
    .option-section.active .option-content {
        padding: 0.75rem !important;
        max-height: 1000px !important;
    }
    
    /* Toggle icon rotation */
    .toggle-icon {
        transition: transform 0.3s ease;
    }
    
    .option-section.active .toggle-icon {
        transform: rotate(45deg);
    }
    
    input, select, textarea {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .form-group label {
        font-size: 0.8rem;
    }
    
    /* Logo grid */
    .logo-selector {
        grid-template-columns: repeat(3, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    /* Body shape selector */
    .body-shape-selector {
        grid-template-columns: repeat(3, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .body-shape-option {
        width: 58px;
        height: 58px;
        padding: 0.15rem;
    }
    
    /* Border style selector */
    .border-style-selector {
        grid-template-columns: repeat(3, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .border-style-option {
        width: 58px;
        height: 58px;
        padding: 0.15rem;
    }
    
    /* Center style selector */
    .center-style-selector {
        grid-template-columns: repeat(4, auto);
        gap: 0.5rem;
        justify-content: start;
    }
    
    .center-style-option {
        width: 58px;
        height: 58px;
        padding: 0.15rem;
    }
    
    /* Auth cards */
    .auth-card {
        padding: 1.25rem 0.75rem;
    }
    
    .auth-header i {
        font-size: 1.75rem;
    }
    
    .auth-header h2 {
        font-size: 1.1rem;
    }
    
    /* Preview */
    .qr-preview {
        min-height: 200px;
        padding: 0.75rem;
    }
}

/* Landscape mode for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .auth-container,
    .profile-container {
        padding: 1rem 0;
    }
    
    .auth-card {
        padding: 1.5rem 1rem;
    }
    
    .auth-header {
        margin-bottom: 1rem;
    }
    
    .auth-header i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .preview-container {
        max-height: 400px;
        overflow-y: auto;
    }
}

/* Utility classes for mobile */
@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    
    .show-mobile {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .hide-desktop {
        display: none !important;
    }
    
    .show-desktop {
        display: block !important;
    }
}

/* ===========================
   Dashboard Styles
   =========================== */

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    margin: 0;
    color: var(--dark);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-content h3 {
    margin: 0;
    font-size: 2rem;
    color: var(--primary);
}

.stat-content p {
    margin: 0.25rem 0 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.qr-codes-list {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state h2 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.qr-card {
    background: var(--white);
    border: 2px solid #607D8B;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none;
    transform: none;
    transition: none;
}

.qr-card-image {
    width: 100%;
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qr-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qr-placeholder {
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
}

.qr-card-content {
    padding: 1.5rem;
}

.qr-card-content h3 {
    margin: 0 0 1rem;
    color: var(--dark);
    font-size: 1.1rem;
}

.qr-card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.qr-type, .qr-scans {
    color: var(--text-light);
}

.qr-card-date {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

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

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-danger {
    background: #dc3545;
    color: var(--white);
}

.btn-danger:hover {
    background: #c82333;
}

.btn-success {
    background: #28a745;
    color: var(--white);
}

.btn-success:hover {
    background: #218838;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.page-info {
    color: var(--text-light);
    font-weight: 500;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.toast {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 300px;
    border-left: 4px solid;
    animation: slideInRight 0.3s ease, fadeOut 0.3s ease 4.7s;
    opacity: 1;
    transition: opacity 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast.hide {
    opacity: 0;
    transform: translateX(100%);
}

.toast-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.25rem;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--dark);
}

.toast-message {
    font-size: 0.875rem;
    color: var(--gray);
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1.125rem;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
}

.toast-success {
    border-left-color: #28a745;
}

.toast-success .toast-icon {
    color: #28a745;
}

.toast-error {
    border-left-color: #dc3545;
}

.toast-error .toast-icon {
    color: #dc3545;
}

.toast-info {
    border-left-color: #17a2b8;
}

.toast-info .toast-icon {
    color: #17a2b8;
}

.toast-warning {
    border-left-color: #ffc107;
}

.toast-warning .toast-icon {
    color: #ffc107;
}

/* Toast responsive */
@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .toast {
        min-width: auto;
        width: 100%;
    }
}

/* Confirmation Modal (Laravel style) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent body scroll and layout shift when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0);
}

.modal-dialog {
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-dialog {
    transform: scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.modal-icon.danger {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

.modal-icon.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.modal-title-wrapper {
    flex: 1;
}

.modal-title {
    margin: 0 0 0.25rem 0;
    color: var(--dark);
    font-size: 1.25rem;
    font-weight: 700;
}

.modal-subtitle {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
}

.modal-body {
    padding: 1.5rem;
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.6;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-light);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    background: var(--gray-lighter);
}

.modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn-cancel {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--gray-light);
}

.modal-btn-cancel:hover {
    background: var(--gray-light);
}

.modal-btn-danger {
    background: #dc3545;
    color: var(--white);
}

.modal-btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Modal responsive */
@media (max-width: 768px) {
    .modal-dialog {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.25rem;
    }
    
    .modal-body {
        padding: 1.25rem;
    }
    
    .modal-footer {
        padding: 1.25rem;
        flex-direction: column-reverse;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* QR Details Page */
.qr-details-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--gray-light);
    transform: translateX(-3px);
}

.qr-details-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
}

.qr-details-display,
.qr-details-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.qr-details-card {
    background: var(--white);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.qr-details-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1.5rem 0;
    color: var(--dark);
    font-size: 1.25rem;
}

.qr-details-card h3 i {
    color: var(--primary-color);
}

.qr-image-large {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-lighter);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    min-height: 300px;
}

.qr-image-large img {
    max-width: 100%;
    height: auto;
}

.qr-actions {
    display: flex;
    gap: 1rem;
}

.qr-info-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: var(--gray-lighter);
    border-radius: var(--border-radius);
}

.info-label {
    font-weight: 600;
    color: var(--dark);
}

.info-value {
    color: var(--gray);
}

.qr-data-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-light);
}

.qr-data-section h4 {
    margin: 0 0 1rem 0;
    color: var(--dark);
}

.qr-data-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.data-item {
    padding: 0.5rem 0.75rem;
    background: var(--gray-lighter);
    border-radius: var(--border-radius);
}

.data-item strong {
    color: var(--dark);
}

.data-item span {
    color: var(--gray);
    word-break: break-all;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-lighter);
    border-radius: var(--border-radius);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray);
}

.scan-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scan-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-lighter);
    border-radius: var(--border-radius);
}

.scan-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.scan-info {
    flex: 1;
}

.scan-time {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.scan-ip,
.scan-location {
    font-size: 0.875rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.country-flag {
    display: inline-block;
    width: 28px;
    height: 21px;
    background: #f3f4f6;
    border-radius: 4px;
    position: relative;
    border: 1px solid #d1d5db;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-right: 0.5rem;
}

/* Cookie Consent Modal */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 1rem;
}

.cookie-consent-modal {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.cookie-consent-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.cookie-consent-icon i {
    color: white;
    font-size: 1.2rem;
}

.cookie-consent-brand .brand-name {
    color: #ff2d20;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.cookie-consent-content {
    padding: 1.5rem 1rem;
}

.cookie-consent-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.cookie-categories {
    margin-bottom: 1.5rem;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.category-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.category-icon.personalization {
    background: #e3f2fd;
    color: #1976d2;
}

.category-icon.device {
    background: #e8f5e8;
    color: #2e7d32;
}

.category-text {
    font-size: 0.9rem;
    color: var(--dark);
    line-height: 1.4;
}

.cookie-learn-more {
    margin-bottom: 1.5rem;
}

.learn-more-toggle {
    background: none;
    border: none;
    color: #007bff;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.learn-more-toggle:hover {
    color: #0056b3;
}

.learn-more-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.learn-more-content {
    display: none;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--dark);
}

.cookie-consent-actions {
    padding: 1rem;
    border-top: 1px solid #f0f0f0;
}

.cookie-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.75rem;
}

.cookie-btn:last-child {
    margin-bottom: 0;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
    color: white;
}

.cookie-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.3);
}

.cookie-btn-decline {
    background: white;
    color: var(--dark);
    border: 2px solid #ff2d20;
}

.cookie-btn-decline:hover {
    background: #ff2d20;
    color: white;
}

.cookie-btn-manage {
    background: none;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 0;
    padding: 0.5rem;
}

.cookie-btn-manage:hover {
    color: #0056b3;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .cookie-consent-overlay {
        padding: 0.5rem;
    }
    
    .cookie-consent-modal {
        max-height: 95vh;
    }
    
    .cookie-consent-header {
        padding: 1rem 0.75rem 0.75rem;
    }
    
    .cookie-consent-content {
        padding: 1rem 0.75rem;
    }
    
    .cookie-consent-actions {
        padding: 0.75rem;
    }
}

/* Specific flag styles for common countries */
.country-flag[data-country="BG"] {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 33%, #00966e 33%, #00966e 66%, #d62612 66%, #d62612 100%);
    color: white;
}

.country-flag[data-country="US"] {
    background: linear-gradient(to bottom, #b22234 0%, #b22234 45%, #ffffff 45%, #ffffff 55%, #b22234 55%, #b22234 100%);
    color: #3c3b6e;
}

.country-flag[data-country="DE"] {
    background: linear-gradient(to bottom, #000000 0%, #000000 33%, #dd0000 33%, #dd0000 66%, #ffce00 66%, #ffce00 100%);
    color: white;
}

.country-flag[data-country="GB"] {
    background: #012169;
    color: white;
}

.country-flag[data-country="FR"] {
    background: linear-gradient(to right, #002395 0%, #002395 33%, #ffffff 33%, #ffffff 66%, #ed2939 66%, #ed2939 100%);
    color: #ed2939;
}

.empty-scans {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-scans i {
    font-size: 3rem;
    color: var(--gray);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-scans p {
    color: var(--gray);
    margin: 0;
}

/* Tracking URL Section */
.tracking-info {
    border: 2px solid #28a745;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.03) 0%, rgba(40, 167, 69, 0.01) 100%);
}

.tracking-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #28a745;
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tracking-badge i {
    font-size: 1rem;
}

.tracking-url-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tracking-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin: 0;
}

.url-copy-box {
    display: none; /* Hide URL copy box */
    gap: 0.75rem;
}

.url-copy-box input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
    background: var(--gray-lighter);
    color: var(--dark);
}

.url-copy-box input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.url-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
    font-style: italic;
}

.url-note i {
    color: var(--primary-color);
}

.btn-regenerate {
    width: 100%;
    margin-top: 0.5rem;
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    .dashboard-container {
        padding: 1rem;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .dashboard-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .qr-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-card-actions {
        flex-direction: column;
    }
    
    .qr-details-content {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .qr-details-display,
    .qr-details-stats {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    
    .qr-details-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        box-sizing: border-box;
        margin: 0;
    }
    
    .qr-details-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .qr-image-large {
        padding: 1rem;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .qr-image-large img {
        max-width: 100%;
        height: auto;
        width: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .qr-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .url-copy-box {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .url-copy-box input {
        font-size: 0.85rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }
    
    .qr-info-grid {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .info-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
        word-wrap: break-word;
    }
    
    .scan-list {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .scan-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        flex-wrap: wrap;
    }
    
    .tracking-url-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .qr-data-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .data-item {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .pagination {
        flex-direction: column;
        width: 100%;
    }
    
    /* Prevent images and media from causing horizontal scroll */
    .qr-details-card img,
    .qr-details-card canvas,
    .qr-details-card video {
        max-width: 100% !important;
        height: auto !important;
    }
}

/* Service Description Section */
.service-description-section {
    padding: 4rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    color: var(--primary-color);
    font-size: 2.25rem;
}

.service-description-text {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray);
    max-width: 900px;
    margin: 0 auto;
}

/* How It Works Section */
.how-it-works-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.how-it-works-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.step-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgb(255, 45, 32) 0%, rgb(255, 107, 94) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.step-icon {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.2;
    z-index: 1;
}

.step-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gray-light);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgb(255, 45, 32) 0%, rgb(255, 107, 94) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(255, 45, 32, 0.3);
}

.benefit-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-lighter);
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    flex: 1;
    text-align: left;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

/* Promotional Content - Inside main-content */
.promo-wrapper {
    text-align: center;
    margin: 3rem 0 0;
}

.promo-box {
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.promo-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.promo-box:hover img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .promo-wrapper {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .promo-wrapper {
        margin-top: 1.5rem;
    }
    
    .dashboard-container {
        padding: 0.75rem;
    }
    
    .qr-details-card {
        padding: 1rem;
    }
    
    .qr-image-large {
        padding: 0.5rem;
    }
    
    .qr-image-large img {
        max-width: 100%;
        height: auto;
    }
}

/* Responsive Sections */
@media (max-width: 1024px) {
    .how-it-works-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 768px) {
    /* Responsive styles for new sections */
}

@media (max-width: 480px) {
    /* New sections responsive */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-title i {
        font-size: 1.75rem;
    }
    
    .service-description-section {
        padding: 2.5rem 0;
    }
    
    .service-description-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .how-it-works-section {
        padding: 2.5rem 0;
    }
    
    .how-it-works-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .benefits-section {
        padding: 2.5rem 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .faq-section {
        padding: 2.5rem 0;
    }
    
    .faq-list {
        padding: 0 1rem;
    }
    
    .faq-question {
        padding: 1.25rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }
}

/* Privacy Policy Page */
.privacy-policy-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.privacy-policy-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.privacy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.privacy-intro {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.privacy-sections {
    margin-bottom: 3rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.privacy-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
}

.privacy-section p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.privacy-section ul {
    color: #64748b;
    line-height: 1.6;
    margin-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
}

.privacy-section a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-section a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.contact-info {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info strong {
    color: #1e293b;
}

.privacy-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.privacy-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Responsive Privacy Policy */
@media (max-width: 768px) {
    .privacy-policy-content {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .privacy-header h1 {
        font-size: 2rem;
    }
    
    .privacy-intro {
        font-size: 1rem;
    }
    
    .privacy-section h2 {
        font-size: 1.3rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-policy-page {
        padding: 1rem 0;
    }
    
    .privacy-policy-content {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .privacy-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .privacy-header h1 {
        font-size: 1.8rem;
    }
    
    .privacy-section {
        margin-bottom: 2rem;
    }
    
    .privacy-section h2 {
        font-size: 1.2rem;
    }
}

/* About Page */
.about-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.about-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.features-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.badge-icon {
    font-size: 1.2rem;
}

.what-we-offer {
    margin-bottom: 3rem;
}

.what-we-offer h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.what-we-offer h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #ff2d20;
}

.offer-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.offer-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.offer-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.about-company-section,
.about-history-section,
.about-values-section {
    margin-bottom: 3rem;
}

.about-company-section h2,
.about-history-section h2,
.about-values-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.about-company-section h2::after,
.about-history-section h2::after,
.about-values-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.about-company-text,
.about-history-text,
.about-values-text {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    text-align: justify;
}

.mission-section,
.contact-section {
    margin-bottom: 3rem;
    text-align: center;
}

.mission-section h2,
.contact-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.mission-section h2::after,
.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
}

.mission-text,
.contact-text {
    color: #64748b;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.about-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.about-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-content {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .about-header h1 {
        font-size: 2rem;
    }
    
    .about-intro {
        font-size: 1rem;
    }
    
    .features-badges {
        gap: 1rem;
    }
    
    .feature-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .what-we-offer h2 {
        font-size: 1.6rem;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .offer-card {
        padding: 1.5rem;
    }
    
    .mission-text,
    .contact-text {
        font-size: 1rem;
    }
    
    .about-company-section h2,
    .about-history-section h2,
    .about-values-section h2 {
        font-size: 1.5rem;
    }
    
    .about-company-text,
    .about-history-text,
    .about-values-text {
        font-size: 0.95rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .about-page {
        padding: 1rem 0;
    }
    
    .about-content {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .about-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .features-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .feature-badge {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .what-we-offer h2 {
        font-size: 1.4rem;
    }
    
    .offer-card {
        padding: 1.2rem;
    }
    
    .offer-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .offer-card h3 {
        font-size: 1.2rem;
    }
    
    .offer-card p {
        font-size: 0.9rem;
    }
    
    .about-company-section h2,
    .about-history-section h2,
    .about-values-section h2 {
        font-size: 1.3rem;
    }
    
    .about-company-text,
    .about-history-text,
    .about-values-text {
        font-size: 0.9rem;
        text-align: left;
    }
}

/* Contact Page */
.contact-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    min-height: 100vh;
    padding: 2rem 0;
}

.contact-content {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.contact-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #ef4444;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    color: #1e293b;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #cbd5e1;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.form-actions {
    margin-top: 1rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info-section {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    height: fit-content;
}

.contact-info-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-info-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff2d20 0%, #ff6b5e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.contact-details p {
    color: #64748b;
    font-size: 0.9rem;
    margin: 0;
}

.contact-footer {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #e2e8f0;
}

.contact-footer .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Contact Services Section */
.contact-services-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.contact-services-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.contact-services-text {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
    text-align: justify;
}

/* Contact FAQ Section */
.contact-faq-section {
    margin-top: 3rem;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.contact-faq-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-faq-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.contact-faq-list {
    max-width: 100%;
    margin: 0;
}

.contact-faq-item {
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.contact-faq-question:hover {
    background: var(--gray-lighter);
}

.contact-faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    flex: 1;
}

.contact-faq-question i {
    font-size: 1rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.contact-faq-item.active .contact-faq-question i {
    transform: rotate(180deg);
}

.contact-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.contact-faq-item.active .contact-faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.contact-faq-answer p {
    color: #64748b;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-content {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
        border-radius: 15px;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-intro {
        font-size: 1rem;
    }
    
    .contact-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .contact-services-section,
    .contact-faq-section {
        padding: 1.5rem;
    }
    
    .contact-services-section h2,
    .contact-faq-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-services-text {
        font-size: 0.95rem;
        text-align: left;
    }
    
    .contact-info-item {
        padding: 0.8rem;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 1rem 0;
    }
    
    .contact-content {
        margin: 0 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .contact-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-main {
        gap: 1.5rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .contact-services-section,
    .contact-faq-section {
        padding: 1rem;
    }
    
    .contact-services-section,
    .contact-faq-section {
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-services-section h2,
    .contact-faq-section h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .contact-services-text {
        font-size: 0.9rem;
    }
    
    .contact-faq-question {
        padding: 1rem;
    }
    
    .contact-faq-question h3 {
        font-size: 1rem;
    }
    
    .contact-faq-answer {
        padding: 0 1rem;
    }
    
    .contact-faq-item.active .contact-faq-answer {
        padding: 0 1rem 1rem;
    }
    
    .contact-faq-answer p {
        font-size: 0.9rem;
    }
    
    .contact-form {
        gap: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Admin Panel Styles */
.admin-page {
    min-height: 100vh;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
}

.admin-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff2d20, #ff6b5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 700;
}

.admin-header h1 i {
    background: linear-gradient(135deg, #ff2d20, #ff6b5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.admin-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.admin-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.admin-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.admin-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.admin-card-info h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.admin-card-info p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.admin-card-actions {
    margin-top: auto;
    padding-top: 1.5rem;
}

.admin-footer {
    text-align: center;
    margin-top: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.12);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
}

.stat-content h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.stat-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

/* Users Table */
.users-table-container {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.1);
    overflow-x: auto;
    margin-bottom: 2rem;
}

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.users-table th {
    background: var(--gray-50);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border-bottom: 2px solid var(--border-light);
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.users-table tr:hover {
    background: var(--gray-50);
}

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

.current-user {
    background: var(--primary);
    color: var(--white);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 2rem;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

.toggle-switch input:disabled + .toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.toggle-label {
    margin-left: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Settings Sections */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.settings-section {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.settings-section:hover {
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
}

.settings-section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.settings-section-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.settings-section-header h3 i {
    color: var(--primary);
}

.settings-section-header p {
    color: var(--text-secondary);
    margin: 0;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.settings-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.settings-form .form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.settings-form .form-group input,
.settings-form .form-group textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.settings-form .form-group input:focus,
.settings-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.settings-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.field-help,
.file-help {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.file-input {
    padding: 0.5rem;
    border: 2px dashed var(--border-light);
    border-radius: 8px;
    background: var(--gray-50);
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-input:hover {
    border-color: var(--primary);
    background: var(--white);
}

.favicon-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.current-favicon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
}

.favicon-info {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
}

.no-favicon {
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.settings-form .form-actions {
    margin-top: 1.5rem;
}

.settings-form .form-actions .btn {
    min-width: 180px;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.settings-form .form-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Responsive Admin Styles */
@media (max-width: 768px) {
    .admin-header h1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .admin-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .admin-card {
        padding: 1.5rem;
    }
    
    .admin-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .users-table-container {
        padding: 1rem;
    }
    
    .users-table {
        font-size: 0.85rem;
    }
    
    .users-table th,
    .users-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .settings-section {
        padding: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
}

