/* Sleek Dark Mode Onboarding Design Tokens */
:root {
    --sell-primary: #800020; /* Sleek Burgundy */
    --sell-primary-hover: #9a0028;
    --sell-gold: #D4AF37; /* Metallic Gold Accent */
    --sell-bg-dark: #121212;
    --sell-card-bg: rgba(255, 255, 255, 0.05);
    --sell-card-border: rgba(255, 255, 255, 0.1);
    --sell-text-white: #ffffff;
    --sell-text-gray: #a0a0a0;
}

/* Premium Styling for Sell Funnel */
.sell-funnel-wrapper {
    background: radial-gradient(circle at top, #1a080d 0%, #0d0d0d 100%);
    color: var(--sell-text-white);
    font-family: 'Inter', sans-serif;
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

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

/* Landing Page Hero Section */
.sell-hero {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.sell-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #ffffff 30%, var(--sell-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.sell-hero p {
    font-size: 1.25rem;
    color: var(--sell-text-gray);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Glassmorphism Card style */
.sell-card {
    background: var(--sell-card-bg);
    border: 1px solid var(--sell-card-border);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
}

.sell-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Interactive Progress Steps */
.onboarding-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.onboarding-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    text-decoration: none;
    color: inherit;
}

.step-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1e1e1e;
    border: 3px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.step-indicator.active .step-circle {
    background: var(--sell-primary);
    border-color: var(--sell-gold);
    box-shadow: 0 0 20px rgba(128, 0, 32, 0.6);
}

.step-indicator.completed .step-circle {
    background: var(--sell-gold);
    border-color: var(--sell-gold);
    color: #121212;
}

.step-label {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sell-text-gray);
    transition: color 0.3s;
}

.step-indicator.active .step-label {
    color: var(--sell-text-white);
}

/* Form Elements */
.sell-form-group {
    margin-bottom: 25px;
}

.sell-form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #dfdfdf;
    margin-bottom: 8px;
    display: block;
}

.sell-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: var(--sell-text-white) !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
}

.sell-input:focus {
    border-color: var(--sell-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    outline: none !important;
}

.sell-password-field {
    position: relative;
}

.sell-input-with-toggle {
    padding-right: 56px !important;
}

.sell-password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.66);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sell-password-toggle:hover,
.sell-password-toggle:focus {
    color: var(--sell-gold);
    outline: none;
}

/* Premium Buttons */
.btn-sell-primary {
    background: linear-gradient(135deg, var(--sell-primary) 0%, #b3002d 100%);
    border: none;
    color: var(--sell-text-white);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(128, 0, 32, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-sell-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(128, 0, 32, 0.5);
    background: linear-gradient(135deg, #9a0028 0%, var(--sell-primary-hover) 100%);
}

.btn-sell-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--sell-text-white);
    padding: 13px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-sell-secondary:hover {
    border-color: var(--sell-gold);
    color: var(--sell-gold);
}

/* Feature Grid on Landing Page */
.sell-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--sell-gold);
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--sell-text-gray);
    font-size: 0.95rem;
}

/* Persistent Customer Support Area */
.support-banner {
    margin-top: 50px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--sell-gold);
    border-radius: 15px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: var(--sell-text-white);
}

.support-banner i {
    font-size: 1.5rem;
    color: var(--sell-gold);
}

.support-banner a {
    color: var(--sell-gold);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.3s;
}

.support-banner a:hover {
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section dividers inside sell-card */
.sell-section-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 30px 0 25px;
    padding-top: 25px;
}

.sell-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--sell-gold);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sell-section-title i {
    opacity: 0.8;
}

/* Native select in dark mode */
.sell-input option {
    background: #1a1a1a;
    color: #ffffff;
}

/* Phone input group */
.sell-phone-group {
    display: flex;
    gap: 0;
}

.sell-phone-code {
    background: rgba(212, 175, 55, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: none !important;
    border-radius: 10px 0 0 10px !important;
    color: var(--sell-gold) !important;
    padding: 14px 14px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    white-space: nowrap;
    min-width: 58px;
    text-align: center;
}

.sell-phone-group .sell-input {
    border-radius: 0 10px 10px 0 !important;
}

/* File upload area */
.sell-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    border: 2px dashed rgba(212, 175, 55, 0.35);
    border-radius: 12px;
    padding: 22px 16px;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(212, 175, 55, 0.03);
    color: var(--sell-text-gray);
    font-size: 0.9rem;
    text-align: center;
}

.sell-file-label:hover {
    border-color: var(--sell-gold);
    background: rgba(212, 175, 55, 0.07);
    color: var(--sell-text-white);
}

.sell-file-label i {
    font-size: 1.5rem;
    color: var(--sell-gold);
}

.sell-file-input {
    display: none;
}

.sell-file-preview {
    margin-top: 10px;
    display: none;
}

.sell-file-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--sell-gold);
}

/* Image grid for upload step */
.sell-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 576px) {
    .sell-image-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Username availability */
.sell-slug-check {
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 18px;
}

/* Small muted text */
.sell-hint {
    font-size: 0.78rem;
    color: var(--sell-text-gray);
    margin-top: 5px;
    display: block;
}

/* Responsive row */
.sell-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0 20px;
}

.sell-col-half {
    flex: 1 1 calc(50% - 10px);
    min-width: 200px;
}

.sell-col-third {
    flex: 1 1 calc(33.333% - 14px);
    min-width: 160px;
}

.sell-col-full {
    flex: 1 1 100%;
}

/* Textarea sell style */
.sell-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    color: var(--sell-text-white) !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    resize: vertical;
    min-height: 110px;
}

.sell-textarea:focus {
    border-color: var(--sell-gold) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2) !important;
    outline: none !important;
}

/* Input error state */
.sell-input.is-invalid,
.sell-textarea.is-invalid {
    border-color: rgba(220, 53, 69, 0.6) !important;
    box-shadow: 0 0 8px rgba(220, 53, 69, 0.15) !important;
}

/* Phone input with prefix */
.sell-phone-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
}

.sell-phone-prefix {
    padding: 0 12px;
    color: var(--sell-gold);
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(212, 175, 55, 0.08);
    height: 48px;
    display: flex;
    align-items: center;
}

.sell-input-with-prefix {
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    flex: 1;
}

.sell-input-with-prefix:focus {
    outline: none;
    box-shadow: none;
}

.sell-phone-input-group:focus-within {
    border-color: var(--sell-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}
