/* Luxury Trade-In Component Styles */
:root {
    --lux-bg: #ffffff;
    --lux-gold: #b89b5e;
    --lux-charcoal: #111111;
    --lux-border: #f2f2f2;
    --lux-white: #ffffff;
    --lux-gray: #777777;
}

.lux-valuation-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px;
}

.lux-card {
    background: transparent;
    padding: 0;
    margin-top: 0;
}

.lux-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 400;
    color: var(--lux-charcoal);
    margin-bottom: 0.5rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.lux-subtitle {
    color: var(--lux-gold);
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    display: block;
}

/* Enhanced Sticky Progress Bar */
.lux-progress-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 16px 24px 20px;
    margin: 0 -24px 3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.lux-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.lux-progress-step-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--lux-gold);
}

.lux-progress-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--lux-charcoal);
}

.lux-progress-percent {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--lux-gray);
}

.lux-progress-bar-with-labels {
    display: flex;
    gap: 6px;
}

.lux-progress-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lux-progress-segment {
    width: 100%;
    height: 4px;
    background: var(--lux-border);
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.lux-progress-segment::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--lux-gold) 0%, var(--lux-charcoal) 100%);
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.lux-progress-segment.completed::after {
    transform: translateX(0);
}

.lux-progress-segment.active {
    background: rgba(184, 155, 94, 0.2);
}

.lux-progress-segment.active::after {
    transform: translateX(-50%);
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {

    0%,
    100% {
        transform: translateX(-50%);
    }

    50% {
        transform: translateX(-40%);
    }
}

.lux-segment-label {
    font-size: 0.55rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--lux-gray);
    margin-top: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lux-progress-column.active .lux-segment-label {
    color: var(--lux-gold);
    font-weight: 600;
}

/* Selection Buttons */
.lux-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.lux-selection-btn {
    background: var(--lux-white);
    border: 1px solid var(--lux-border);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lux-selection-btn span {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--lux-charcoal);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.lux-selection-btn:hover {
    border-color: var(--lux-charcoal);
}

.lux-selection-btn.selected {
    background: var(--lux-charcoal);
    border-color: var(--lux-charcoal);
}

.lux-selection-btn.selected span {
    color: var(--lux-white);
}

/* Form Inputs */
.lux-input-group {
    margin-bottom: 2rem;
}

.lux-label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--lux-gray);
    margin-bottom: 0.75rem;
    text-align: center;
}

.lux-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--lux-border);
    border-radius: 0;
    padding: 0.75rem 0;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--lux-charcoal);
    transition: all 0.3s ease;
    text-align: center;
}

.lux-input:focus {
    outline: none;
    border-color: var(--lux-gold);
}

/* Brand Cards */
.lux-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.lux-brand-card {
    padding: 1rem 0.5rem;
    border: 1px solid var(--lux-border);
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lux-brand-card.selected {
    background: var(--lux-charcoal);
    border-color: var(--lux-charcoal);
    color: white;
}

.lux-brand-bonus {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--lux-gold);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.lux-brand-name {
    font-size: 0.75rem;
}

/* Navigation Buttons */
.lux-nav-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 3rem;
    align-items: center;
}

.lux-btn-prev {
    background: transparent;
    border: none;
    color: var(--lux-gray);
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.6rem;
    cursor: pointer;
    padding: 0.75rem;
}

.lux-btn-next {
    padding: 0.75rem 3rem;
    border-radius: 0;
    background: var(--lux-charcoal);
    border: 1px solid var(--lux-charcoal);
    color: white;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.6rem;
    transition: all 0.4s ease;
}

.lux-btn-next:hover {
    background: transparent;
    color: var(--lux-charcoal);
}

.lux-condition-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.lux-condition-btn {
    padding: 0.75rem 0.25rem;
    border: 1px solid var(--lux-border);
    border-radius: 0.4rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lux-condition-btn span {
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
}

.lux-condition-btn.selected {
    background: var(--lux-charcoal);
    border-color: var(--lux-charcoal);
    color: white;
}

.lux-dropzone {
    border: 1px solid var(--lux-border);
    background: transparent;
    border-radius: 1rem;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lux-dropzone:hover {
    border-color: var(--lux-gold);
}

/* Photo action buttons row */
.lux-photo-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.lux-btn-camera {
    padding: 0.6rem 1.5rem;
    border-radius: 0;
    background: transparent;
    border: 1px solid var(--lux-charcoal);
    color: var(--lux-charcoal);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.6rem;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lux-btn-camera:hover {
    background: var(--lux-charcoal);
    color: white;
}

.lux-btn-camera i {
    font-size: 0.65rem;
}

/* Hide camera buttons on desktop - only visible on mobile/touch devices */
@media (min-width: 1024px) {
    .lux-btn-camera {
        display: none !important;
    }
}

/* Modal Specific Adjustments */
@media (max-width: 768px) {
    .lux-valuation-container {
        padding: 16px;
    }

    .lux-title {
        font-size: 1.8rem;
    }

    .lux-progress-wrapper {
        margin: 0 -16px 2rem;
        padding: 12px 16px;
    }

    .lux-selection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lux-condition-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}