/* ================ GLOBAL STYLES ================ */
/* 
    Enhanced: 
    - Added font-smoothing for crisper text.
    - Improved base font sizes and line-heights for readability.
    - Added universal transition for micro-interactions.
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    padding: 20px;
    color: #222;
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

.hidden {
    display: none !important;
}

/* ================ ANIMATIONS ================ */
/* 
    Enhanced: 
    - Added .animate-fadein, .animate-slidein, .animate-fadeinup utility classes for easy fade/slide-in on scroll.
*/
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-20px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1.0); }
}

/* Animation utility classes for fade/slide-in on scroll */
.animate-fadein {
    animation: fadeIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
.animate-fadeinup {
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}
.animate-slidein {
    animation: slideInLeft 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

/* ================ TYPOGRAPHY ENHANCEMENTS ================ */
/* 
    Enhanced: 
    - Improved heading hierarchy, font weights, and spacing.
    - Added letter-spacing for headings.
*/
h1, .h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: #003366;
    margin-bottom: 0.7em;
}
h2, .h2 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: #003366;
    margin-bottom: 0.6em;
}
h3, .h3 {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    color: #2563eb;
    margin-bottom: 0.5em;
}
h4, .h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 0.4em;
}
p, .p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 1em;
}
small, .small {
    font-size: 0.92em;
    color: #666;
}

/* ================ GLOBAL BUTTON ENHANCEMENTS ================ */
/* 
    Enhanced: 
    - Added subtle shadow, gradient, and scale micro-interactions.
    - Consistent button style for all .btn classes.
*/
button, .btn {
    font-family: inherit;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: 
        background 0.25s, 
        color 0.25s, 
        box-shadow 0.25s, 
        border-color 0.25s, 
        transform 0.18s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 2px 8px rgba(0,51,102,0.07);
    will-change: transform;
}
button:active, .btn:active {
    transform: scale(0.98);
}
button:focus-visible, .btn:focus-visible {
    outline: 2px solid #FF6F00;
    outline-offset: 2px;
}

/* ================ REGISTRATION PAGE (Scoped to .auth-container) ================ */
/* 
    Enhanced: 
    - Softer, more realistic box-shadows.
    - More padding and white space for clarity.
    - Improved focus/hover states for all interactive elements.
    - Subtle gradient backgrounds for buttons.
    - Animated transitions between form steps.
    - Consistent card and input styling.
*/
.auth-container {
    --primary: #003366;
    --primary-light: #004b8d;
    --secondary: #FF6F00;
    --accent: #FFC107;
    --light: #F8F9FA;
    --text: #333333;
    --border: #e0e0e0;
    --success: #28a745;
    --error: #e74c3c;
    --card-shadow: 0 8px 32px rgba(0, 51, 102, 0.13), 0 1.5px 4px rgba(0,0,0,0.04);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    display: flex;
    max-width: 1000px;
    width: 100%;
    box-shadow: var(--card-shadow);
    border-radius: 24px;
    overflow: hidden;
    animation: fadeIn 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    padding: 32px 20px;
    margin: 0 auto;
    gap: 0;
}

.auth-container .brand-section {
    background: linear-gradient(160deg, var(--primary) 0%, #001a33 100%);
    color: white;
    padding: 56px 44px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-width: 320px;
}

.auth-container .brand-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 111, 0, 0.13);
    top: -160px;
    right: -160px;
    animation: pulse 8s infinite alternate;
}

.auth-container .brand-section::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 193, 7, 0.12);
    bottom: -110px;
    left: -110px;
    animation: pulse 6s infinite alternate;
}

.auth-container .logo {
    display: flex;
    align-items: center;
    margin-bottom: 36px;
    z-index: 2;
    transform: translateY(-10px);
    animation: slideInDown 0.5s 0.2s forwards;
    opacity: 0;
}

.auth-container .logo-icon {
    background: linear-gradient(135deg, var(--secondary) 60%, #FF8F00 100%);
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    box-shadow: 0 6px 18px rgba(255, 111, 0, 0.22);
}

.auth-container .logo-icon i {
    font-size: 26px;
    color: white;
}

.auth-container .logo-text {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-container .brand-content {
    z-index: 2;
    transform: translateY(20px);
    animation: fadeInUp 0.5s 0.3s forwards;
    opacity: 0;
}

.auth-container .brand-content h1 {
    font-size: 2.3rem;
    margin-bottom: 22px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.auth-container .brand-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    opacity: 0.93;
    margin-bottom: 32px;
    color: #e4edf5;
}

.auth-container .features {
    margin-top: 32px;
}

.auth-container .feature {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    transform: translateX(-20px);
    opacity: 0;
    animation: slideInLeft 0.4s forwards;
}

.auth-container .feature:nth-child(1) { animation-delay: 0.4s; }
.auth-container .feature:nth-child(2) { animation-delay: 0.5s; }
.auth-container .feature:nth-child(3) { animation-delay: 0.6s; }

.auth-container .feature i {
    background: rgba(255, 255, 255, 0.13);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(255,193,7,0.08);
}

.auth-container .form-section {
    background: white;
    padding: 56px 44px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    min-width: 320px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.auth-container .form-header {
    margin-bottom: 36px;
    transform: translateY(-10px);
    animation: fadeIn 0.6s 0.4s forwards;
    opacity: 0;
}

.auth-container .form-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-container .form-header p {
    color: #666;
    font-size: 1.1rem;
}

.auth-container .form-container {
    width: 100%;
}

.auth-container .form-group {
    margin-bottom: 24px;
    animation: fadeIn 0.5s forwards;
    opacity: 0;
    animation-fill-mode: both;
}

.auth-container .form-group:nth-child(1) { animation-delay: 0.5s; }
.auth-container .form-group:nth-child(2) { animation-delay: 0.55s; }
.auth-container .form-group:nth-child(3) { animation-delay: 0.6s; }
.auth-container .form-group:nth-child(4) { animation-delay: 0.65s; }
.auth-container .form-group:nth-child(5) { animation-delay: 0.7s; }

.auth-container .form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
    padding-left: 2px;
    letter-spacing: 0.01em;
}

.auth-container .input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-container .input-group i {
    position: absolute;
    left: 16px;
    color: #999;
    font-size: 20px;
    transition: var(--transition);
    z-index: 2;
}

.auth-container input,
.auth-container select {
    width: 100%;
    padding: 0 16px 0 48px;
    border: 2px solid var(--border);
    border-radius: 14px;
    font-size: 1.05rem;
    transition: var(--transition);
    background: white;
    color: var(--text);
    height: 56px;
    line-height: 56px;
    box-shadow: 0 1.5px 4px rgba(0,0,0,0.03);
}

.auth-container input::placeholder {
    color: #bbb;
    opacity: 1;
    font-size: 1rem;
}

.auth-container select {
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.2;
}

.auth-container input:hover,
.auth-container select:hover {
    border-color: #bbb;
    box-shadow: 0 2px 8px rgba(0,51,102,0.07);
}

.auth-container input:focus,
.auth-container select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 5px rgba(255, 111, 0, 0.18);
    outline: none;
}

.auth-container input:focus + i {
    color: var(--secondary);
}

.auth-container .password-wrapper {
    position: relative;
}

.auth-container .toggle-password {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 20px;
    color: #777;
    z-index: 10;
    transition: var(--transition);
}

.auth-container .toggle-password:hover {
    color: var(--secondary);
    filter: brightness(1.2);
}

.auth-container .strength-meter {
    height: 7px;
    background: #f3f3f3;
    border-radius: 4px;
    margin: 12px 0 7px 0;
    overflow: hidden;
}

.auth-container #strength-bar {
    height: 100%;
    width: 0%;
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.auth-container .password-helper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    gap: 8px;
}

.auth-container #strength-text {
    font-size: 0.95em;
    font-weight: 700;
}

.auth-container .form-group small {
    color: #888;
    font-size: 0.95em;
    text-align: right;
    flex-shrink: 0;
}

.auth-container .btn {
    display: block;
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,51,102,0.07);
    background: linear-gradient(90deg, #FF6F00 0%, #FF8F00 100%);
    color: #fff;
}

.auth-container .btn-primary {
    background: linear-gradient(90deg, var(--secondary) 0%, #FF8F00 100%);
    color: white;
    box-shadow: 0 4px 18px rgba(255, 111, 0, 0.22);
    transform: translateY(0);
}

.auth-container .btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(255, 111, 0, 0.28);
    filter: brightness(1.05);
}

.auth-container .btn-primary:active {
    transform: translateY(1px) scale(0.98);
}

.auth-container .btn-google {
    background: linear-gradient(90deg, #fff 60%, #f8f8f8 100%);
    color: #444;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.auth-container .btn-google:hover {
    background: #f8f8f8;
    border-color: #ccc;
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.auth-container .form-footer {
    margin-top: 32px;
    text-align: center;
    animation: fadeIn 0.6s 0.8s forwards;
    opacity: 0;
}

.auth-container .divider {
    position: relative;
    margin: 28px 0;
    text-align: center;
    color: #999;
    font-size: 1rem;
}

.auth-container .divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1.5px;
    background-color: var(--border);
    z-index: 1;
}

.auth-container .divider::after {
    content: "OR";
    position: relative;
    display: inline-block;
    background: white;
    padding: 0 18px;
    z-index: 2;
    font-size: 1rem;
    color: #bbb;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.auth-container .auth-link {
    margin-top: 22px;
    color: #666;
    font-size: 1.05rem;
}

.auth-container .auth-link a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    transition: color 0.2s;
}

.auth-container .auth-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), #FF8F00);
    transition: width 0.3s cubic-bezier(0.4,0,0.2,1);
}

.auth-container .auth-link a:hover {
    color: #FF8F00;
}
.auth-container .auth-link a:hover::after {
    width: 100%;
}

.auth-container .error-message {
    color: var(--error);
    font-size: 1rem;
    margin-top: 7px;
    display: none;
    animation: shake 0.3s;
    padding-left: 2px;
}

.auth-container .radio-group {
    display: flex;
    gap: 18px;
    margin-top: 10px;
    padding-left: 2px;
}

.auth-container .radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    padding: 10px 16px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #f8f9fa;
}

.auth-container .radio-group input[type="radio"] {
    margin: 0;
    position: relative;
    top: -1px;
}

.auth-container .radio-group label:hover {
    background: rgba(0, 51, 102, 0.07);
}

.auth-container .radio-group input:checked + span {
    font-weight: 700;
    color: var(--primary);
}

.auth-container .radio-group input:checked ~ label {
    border-color: var(--primary-light);
    background: rgba(0, 51, 102, 0.10);
}

.auth-container .select-wrapper {
    position: relative;
}

.auth-container .select-wrapper::after {
    content: "▼";
    font-size: 13px;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #777;
    transition: var(--transition);
}

.auth-container select:focus + .select-wrapper::after {
    color: var(--secondary);
}

.auth-container .loader {
    display: none;
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.auth-container .btn-primary .loader {
    display: inline-block;
}

.auth-container .success-message {
    background: rgba(40, 167, 69, 0.13);
    color: var(--success);
    padding: 18px;
    border-radius: 12px;
    margin-top: 24px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ================ RESPONSIVE ENHANCEMENTS ================ */
@media (max-width: 900px) {
    .auth-container {
        flex-direction: column;
        min-width: 0;
    }
    .auth-container .brand-section,
    .auth-container .form-section {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .auth-container .brand-section {
        padding: 32px 16px;
        border-radius: 0;
    }
    .auth-container .form-section {
        padding: 32px 16px;
        border-radius: 0;
    }
    .auth-container .form-group label {
        padding-left: 0;
    }
    .auth-container .radio-group {
        padding-left: 0;
    }
    .auth-container .password-helper {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }
    .auth-container .form-group small {
        text-align: left;
    }
    .auth-container .logo-text {
        font-size: 1.5rem;
    }
    .auth-container .brand-content h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-container .brand-section,
    .auth-container .form-section {
        padding: 18px 6px;
    }
    .auth-container .logo-text {
        font-size: 1.1rem;
    }
    .auth-container .brand-content h1 {
        font-size: 1.1rem;
    }
    .auth-container .form-header h2 {
        font-size: 1.2rem;
    }
    .auth-container .btn {
        padding: 12px;
        font-size: 0.95rem;
    }
}

/* ================ CAR LISTING FORM (Scoped to .form-card) ================ */
/* 
    Enhanced: 
    - Softer, more realistic box-shadows.
    - Animated transitions between steps.
    - Improved focus/hover states for all interactive elements.
    - Consistent card and input styling.
    - More white space and padding for clarity.
    - Subtle gradient on primary buttons.
*/
.form-card {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #64748b;
    --success: #10b981;
    --error: #ef4444;
    --warning: #f59e0b;
    --light: #f8fafc;
    --dark: #0f172a;
    --card-bg: #ffffff;
    --card-shadow: 0 8px 32px rgba(37,99,235,0.10), 0 1.5px 4px rgba(0,0,0,0.04);
    --border: #e2e8f0;
    --border-radius: 14px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);

    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-card .form-header {
    padding: 1.5rem 1.7rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, #f8fafc 80%, #e0e7ef 100%);
}

.form-card .form-header h2 {
    font-size: 1.7rem;
    margin-bottom: 0.3rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.form-card .form-subtitle {
    color: var(--secondary);
    font-size: 1.05rem;
}

.form-card .progress-container {
    padding: 1.5rem 1.7rem;
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border);
}

.form-card .progress-bar {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 0 auto;
}

.form-card .progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    width: 100%;
    background-color: #e2e8f0;
    transform: translateY(-50%);
    z-index: 1;
}

.form-card .progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 60%, #60a5fa 100%);
    transform: translateY(-50%);
    z-index: 2;
    transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}

.form-card .progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20%;
    z-index: 3;
}

.form-card .step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: white;
    border: 2.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #94a3b8;
    transition: var(--transition);
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(37,99,235,0.07);
}

.form-card .progress-step.active .step-circle {
    border-color: var(--primary);
    color: var(--primary);
    background-color: #dbeafe;
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
}

.form-card .progress-step.completed .step-circle {
    background: linear-gradient(135deg, var(--primary) 60%, #60a5fa 100%);
    border-color: var(--primary);
    color: white;
}

.form-card .progress-step.completed .step-circle::after {
    content: '✓';
    font-weight: bold;
}

.form-card .step-label {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    text-align: center;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.form-card .progress-step.active .step-label,
.form-card .progress-step.completed .step-label {
    color: var(--dark);
    font-weight: 700;
}

.form-card .form-section {
    padding: 1.7rem;
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-card .form-section.active {
    display: block;
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-card .section-header {
    margin-bottom: 1.5rem;
}

.form-card .step-indicator {
    display: inline-block;
    background-color: #dbeafe;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.form-card .form-section h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--primary);
}

.form-card .form-guide {
    color: var(--secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.form-card .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-card .form-group {
    position: relative;
    margin-bottom: 0;
}

.form-card .form-group.floating label {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    color: #94a3b8;
    background: white;
    padding: 0 0.3rem;
    pointer-events: none;
    transition: var(--transition);
    transform-origin: left top;
    font-size: 1rem;
    font-weight: 500;
}

.form-card .form-group.floating select:focus ~ label,
.form-card .form-group.floating select:not([value=""]):valid ~ label,
.form-card .form-group.floating input:focus ~ label,
.form-card .form-group.floating input:not(:placeholder-shown) ~ label,
.form-card .form-group.floating textarea:focus ~ label,
.form-card .form-group.floating textarea:not(:placeholder-shown) ~ label {
    top: -0.7rem;
    left: 0.9rem;
    font-size: 0.8rem;
    color: var(--primary);
    background: white;
    z-index: 10;
    font-weight: 700;
}

.form-card .form-group i {
    position: absolute;
    right: 1.1rem;
    top: 1.1rem;
    color: #94a3b8;
    pointer-events: none;
    font-size: 1.1rem;
}

.form-card input,
.form-card select,
.form-card textarea {
    width: 100%;
    padding: 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    transition: var(--transition);
    background: white;
    box-shadow: 0 1.5px 4px rgba(0,0,0,0.03);
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.13);
}

.form-card select {
    appearance: none;
    background-image: none;
}

.form-card textarea {
    min-height: 140px;
    resize: vertical;
}

.form-card .photo-upload-area {
    border: 2.5px dashed #cbd5e1;
    border-radius: var(--border-radius);
    padding: 2.2rem 1.1rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: #f8fafc;
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.form-card .photo-upload-area:hover,
.form-card .photo-upload-area.drag-over {
    border-color: var(--primary);
    background-color: #f0f7ff;
}

.form-card .upload-instructions {
    color: #64748b;
}

.form-card .upload-instructions i {
    font-size: 2.7rem;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.form-card .upload-instructions h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #334155;
    font-weight: 700;
}

.form-card .upload-instructions p {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.form-card .upload-instructions span {
    font-size: 0.9rem;
}

.form-card #photo-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.form-card .image-previews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 1rem;
}

.form-card .image-previews-grid .preview-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 110px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}

.form-card .image-previews-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-card .remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    background: rgba(0,0,0,0.75);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s;
}
.form-card .remove-btn:hover {
    background: rgba(255, 111, 0, 0.85);
}

.form-card .ai-generation-container {
    background: #f0f7ff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1.5px solid #dbeafe;
}

.form-card .ai-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-card .ai-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.form-card .ai-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-card .btn-ai {
    position: relative;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1.2rem 0;
    background: linear-gradient(90deg, var(--primary) 60%, #60a5fa 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
    transition: var(--transition);
}
.form-card .btn-ai:hover {
    filter: brightness(1.07);
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
}

.form-card .btn-ai .spinner {
    position: absolute;
    right: 1.5rem;
    display: none;
}

.form-card .btn-ai.processing .btn-text {
    opacity: 0;
}

.form-card .btn-ai.processing .spinner {
    display: flex;
}

.form-card .ai-status {
    text-align: center;
    font-size: 0.95rem;
    min-height: 1.7rem;
    margin-top: 0.7rem;
    color: #64748b;
}

.form-card .specs-features-container {
    background: white;
    border-radius: var(--border-radius);
    border: 1.5px solid var(--border);
    overflow: hidden;
}

.form-card .specs-category,
.form-card .features-category {
    padding: 1.5rem;
    border-bottom: 1.5px solid var(--border);
}

.form-card .specs-category:last-child,
.form-card .features-category:last-child {
    border-bottom: none;
}

.form-card .specs-category h4,
.form-card .features-category h4 {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.form-card .specs-category h4 i,
.form-card .features-category h4 i {
    color: var(--primary);
    font-size: 1.1rem;
}

.form-card .specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.1rem;
}

.form-card .spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: #f8fafc;
    border-radius: 10px;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
    box-shadow: 0 1.5px 4px rgba(0,0,0,0.03);
}
.form-card .spec-item:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(37,99,235,0.10);
}

.form-card .spec-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #dbeafe;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.form-card .spec-detail {
    flex: 1;
}

.form-card .spec-name {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0.1rem;
}

.form-card .spec-value {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
}

.form-card .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.3rem;
}

.form-card .feature-category {
    background: #f8fafc;
    border-radius: 10px;
    padding: 1.2rem;
    transition: transform 0.2s cubic-bezier(0.4,0,0.2,1), box-shadow 0.2s;
    box-shadow: 0 1.5px 4px rgba(0,0,0,0.03);
}
.form-card .feature-category:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 12px rgba(37,99,235,0.10);
}

.form-card .feature-category ul {
    list-style: none;
    padding-left: 0;
}

.form-card .feature-category li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    border-bottom: 1.5px solid #e2e8f0;
    font-size: 1rem;
}

.form-card .feature-category li:last-child {
    border-bottom: none;
}

.form-card .feature-category li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.form-card .tier-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.3rem;
}

.form-card .tier-option input[type="radio"] {
    display: none;
}

.form-card .tier-card {
    display: block;
    border: 2.5px solid var(--border);
    border-radius: var(--border-radius);
    padding: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
    background: #fff;
    box-shadow: 0 1.5px 4px rgba(0,0,0,0.03);
    position: relative;
}
.form-card .tier-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
    transform: scale(1.02);
}

.form-card .tier-option input[type="radio"]:checked + .tier-card {
    border-color: var(--primary);
    background: linear-gradient(90deg, #f0f7ff 80%, #e0e7ef 100%);
    box-shadow: 0 8px 32px rgba(37,99,235,0.10);
}
.form-card .tier-option input[type="radio"]:checked + .tier-card.premium {
    border-color: var(--primary);
    background: linear-gradient(90deg, #f0f7ff 80%, #e0e7ef 100%);
}

.form-card .tier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.form-card .tier-title {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
}

.form-card .tier-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.25rem 0.7rem;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.form-card .tier-badge.free {
    background: #dcfce7;
    color: #15803d;
}

.form-card .tier-badge.premium {
    background: #dbeafe;
    color: var(--primary);
}

.form-card .tier-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.form-card .tier-benefits li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 1rem;
}

.form-card .tier-benefits li i {
    color: var(--success);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.form-card .tier-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1.5px solid var(--border);
}

.form-card .price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.form-card .note {
    font-size: 0.9rem;
    color: var(--secondary);
}

.form-card .premium .price {
    color: var(--primary);
}

.form-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    gap: 0.6rem;
    min-height: 48px;
    background: linear-gradient(90deg, var(--primary) 60%, #60a5fa 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.form-card .btn i {
    font-size: 1rem;
}
.form-card .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.form-card .btn-primary {
    background: linear-gradient(90deg, var(--primary) 60%, #60a5fa 100%);
    color: white;
    border-color: var(--primary);
}
.form-card .btn-primary:hover:not(:disabled) {
    background: linear-gradient(90deg, var(--primary-dark) 60%, #60a5fa 100%);
    border-color: var(--primary-dark);
    filter: brightness(1.07);
    box-shadow: 0 4px 16px rgba(37,99,235,0.13);
}
.form-card .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    box-shadow: none;
}
.form-card .btn-outline:hover:not(:disabled) {
    background: #f0f7ff;
    color: var(--primary-dark);
}
.form-card .btn-submit {
    min-width: 170px;
    position: relative;
}

.form-card .form-actions {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 1.7rem;
    border-top: 1.5px solid var(--border);
    gap: 1rem;
}

.form-card .spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.form-card .spinner > div {
    width: 8px;
    height: 8px;
    background-color: currentColor;
    border-radius: 100%;
    display: inline-block;
    animation: bounce 1.4s infinite ease-in-out both;
}

.form-card .spinner .bounce1 {
    animation-delay: -0.32s;
}

.form-card .spinner .bounce2 {
    animation-delay: -0.16s;
}

.form-card .form-group.error input,
.form-card .form-group.error select,
.form-card .form-group.error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 5px rgba(239, 68, 68, 0.13);
}

.form-card .error-message {
    display: block;
    color: var(--error);
    font-size: 0.95rem;
    margin-top: 0.3rem;
    font-weight: 600;
}

/* ================ RESPONSIVE ENHANCEMENTS ================ */
@media (max-width: 900px) {
    .form-card {
        border-radius: 0;
        box-shadow: none;
    }
}
@media (max-width: 768px) {
    .form-card .container {
        padding: 0 1.1rem;
    }
    .form-card .form-section {
        padding: 1.2rem;
    }
    .form-card .progress-step {
        width: 18%;
    }
    .form-card .step-circle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    .form-card .step-label {
        font-size: 0.8rem;
    }
    .form-card .form-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 1.1rem;
    }
    .form-card .form-actions {
        flex-direction: column;
        gap: 1rem;
        padding: 1.2rem;
    }
    .form-card .btn {
        width: 100%;
        justify-content: center;
    }
    .form-card .tier-selection {
        grid-template-columns: 1fr;
    }
    .form-card .photo-upload-area {
        padding: 1.2rem 0.7rem;
    }
    .form-card .upload-instructions i {
        font-size: 2.2rem;
    }
}
@media (max-width: 480px) {
    .form-card .header-content {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    .form-card .logo-text {
        font-size: 1.2rem;
    }
    .form-card .progress-step .step-label {
        display: none;
    }
    .form-card .step-circle {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
    }
    .form-card .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .form-card .section-header {
        margin-bottom: 1rem;
    }
    .form-card .form-section h3 {
        font-size: 1.1rem;
    }
    .form-card input,
    .form-card select,
    .form-card textarea {
        padding: 0.9rem;
        font-size: 0.95rem;
    }
    .form-card .btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    .form-card .image-previews-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 0.7rem;
    }
    .form-card .image-previews-grid .preview-item {
        height: 90px;
    }
    .form-card .specs-grid,
    .form-card .features-grid {
        grid-template-columns: 1fr;
    }
    .form-card .spec-item {
        padding: 0.7rem;
    }
    .form-card .spec-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    .form-card .tier-card {
        padding: 0.9rem;
    }
    .form-card .tier-title {
        font-size: 1rem;
    }
    .form-card .tier-benefits li {
        font-size: 0.9rem;
    }
    .form-card .price {
        font-size: 1.1rem;
    }
}

/* Add to public/css/style.css */

/* ===== DASHBOARD LAYOUT ===== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    background-color: #f8f9fa;
}

.dashboard-sidebar {
    width: 280px;
    background: #003366;
    color: white;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.dashboard-main {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

/* ===== PROFILE SECTION ===== */
.profile-section {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #FF6F00 0%, #FF8F00 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: white;
}

.initials-placeholder {
    transform: translateY(5px);
}

.seller-name {
    margin: 10px 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.dealer-info {
    background: rgba(255, 111, 0, 0.15);
    padding: 8px 12px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 0.95rem;
}

.contact-details {
    text-align: left;
    margin-top: 20px;
    font-size: 0.9rem;
}

.contact-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
}

.contact-details i {
    margin-right: 10px;
    width: 20px;
    color: #FF6F00;
}

/* ===== SIDEBAR NAVIGATION ===== */
.sidebar-nav {
    margin: 30px 0;
    flex-grow: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    margin: 8px 0;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.active {
    background: rgba(255, 111, 0, 0.2);
    color: white;
}

.nav-item i {
    margin-right: 12px;
    font-size: 1.1rem;
    width: 24px;
}

.sidebar-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== DASHBOARD HEADER ===== */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    color: #003366;
    margin-bottom: 5px;
}

.dashboard-header p {
    color: #6c757d;
    font-size: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification-bell {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.notification-bell:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-cta {
    background: #FF6F00;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 111, 0, 0.3);
}

.btn-cta:hover {
    background: #e06500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 111, 0, 0.4);
}

.btn-logout {
    background: transparent;
    color: #6c757d;
    border: 1px solid #e0e0e0;
}

.btn-logout:hover {
    background: #f8f9fa;
    color: #003366;
}

.btn-action {
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid #e0e0e0;
    background: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-edit:hover {
    background: #f1f8ff;
    color: #0366d6;
    border-color: #b3d7ff;
}

.btn-sold {
    background: #f8f9fa;
    color: #28a745;
}

.btn-sold:hover {
    background: #e6f7ec;
    border-color: #c3e6cb;
    color: #218838;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #6c757d;
}

.btn-icon:hover {
    background: #f8f9fa;
    color: #003366;
    transform: translateY(-2px);
}

/* ===== STATS SUMMARY ===== */
.stats-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: #003366;
}

.stat-card h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: #003366;
}

.stat-card p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
}

/* ===== CONTENT TABS ===== */
.content-tabs {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
}

.tab-btn {
    padding: 12px 25px;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #003366;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #FF6F00;
    border-radius: 3px 3px 0 0;
}

.tab-btn:hover:not(.active) {
    color: #003366;
    background: rgba(0, 51, 102, 0.03);
}

/* ===== CAR LISTINGS ===== */
.listings-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.car-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.car-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.car-card:hover .car-image img {
    transform: scale(1.05);
}

.car-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-live {
    background: rgba(40, 167, 69, 0.9);
    color: white;
}

.status-pending {
    background: rgba(255, 193, 7, 0.9);
    color: #333;
}

.status-sold {
    background: rgba(108, 117, 125, 0.9);
    color: white;
}

.car-details {
    padding: 20px;
}

.car-details h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    color: #003366;
}

.car-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FF6F00;
    margin-bottom: 15px;
}

.car-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 15px 0;
}

.car-specs div {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 5px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #495057;
}

.car-specs i {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #6c757d;
}

.car-actions {
    display: flex;
    padding: 0 20px 20px;
    gap: 10px;
}

.car-actions button {
    flex: 1;
}

/* ===== LEADS LIST ===== */
.leads-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.lead-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.lead-item:hover {
    background: #f9f9f9;
}

.lead-avatar {
    width: 50px;
    height: 50px;
    background: rgba(0, 51, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
    color: #003366;
}

.lead-info {
    flex: 1;
}

.lead-info h4 {
    margin: 0 0 5px;
    color: #003366;
}

.lead-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.95rem;
}

.lead-meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #868e96;
}

.lead-meta i {
    margin-right: 5px;
}

.lead-status {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 20px;
}

.lead-new {
    background: rgba(0, 123, 255, 0.1);
    color: #0069d9;
}

.lead-contacted {
    background: rgba(255, 193, 7, 0.1);
    color: #d39e00;
}

.lead-interested {
    background: rgba(40, 167, 69, 0.1);
    color: #218838;
}

.lead-actions {
    display: flex;
    gap: 8px;
}

/* ===== ANIMATIONS & EFFECTS ===== */
@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

.sold-animation {
    animation: fadeOut 0.5s ease forwards;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .dashboard-sidebar {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        padding: 15px;
    }
    
    .profile-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-details {
        text-align: center;
    }
    
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        margin: 15px 0;
        padding-bottom: 10px;
    }
    
    .nav-item {
        flex: 0 0 auto;
        padding: 10px 15px;
        margin: 0 5px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        margin-top: 15px;
        width: 100%;
        justify-content: space-between;
    }
    
    .listings-container {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .dashboard-main {
        padding: 20px 15px;
    }
    
    .stats-summary {
        grid-template-columns: 1fr;
    }
    
    .lead-item {
        flex-wrap: wrap;
    }
    
    .lead-status {
        margin: 10px 0 0;
        width: 100%;
        text-align: center;
    }
    
    .lead-actions {
        margin-left: auto;
    }
}