/* Hero */
.sell-hero {
    position: relative;
    background: linear-gradient(135deg, #00A693 0%, #005B5D 100%);
    padding: 120px 24px 80px;
    overflow: hidden;
}
.sell-hero .container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 0;
}
.sell-hero .row {
    display: flex;
    justify-content: center;
}
.sell-hero .col-lg-8 {
    width: 100%;
    max-width: 760px;
    text-align: center;
    padding-inline: 0;
}
.sell-hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.sell-hero-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}
.sell-hero-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: var(--ds-text-lg);
    margin-bottom: 2rem;
}
.sell-hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-sell-primary {
    background: white;
    color: #005B5D;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: var(--ds-text-lg);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-sell-primary:hover {
    background: #F4F6F7;
    color: #005B5D;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.btn-sell-secondary {
    background: transparent;
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: var(--ds-text-lg);
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-sell-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: white;
}

/* How It Works */
.sell-how-it-works {
    padding: 80px 0;
    background: #F4F6F7;
}
.section-title {
    text-align: center;
    font-size: var(--ds-text-2xl);
    font-weight: 800;
    color: #333;
    margin-bottom: 3rem;
}
.step-card {
    background: white;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,166,147,0.15);
}
.step-number {
    position: absolute;
    top: -16px;
    right: 20px;
    background: #00A693;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: var(--ds-text-base);
}
.step-icon {
    width: 64px;
    height: 64px;
    background: rgba(0,166,147,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: var(--ds-text-2xl);
    color: #00A693;
}
.step-card h3 {
    font-size: var(--ds-text-lg);
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}
.step-card p {
    color: #7D8B94;
    font-size: var(--ds-text-sm);
    line-height: 1.7;
    margin: 0;
}

/* Appointment Section */
.sell-appointment-section {
    padding: 80px 0;
    background: white;
}
/* Bootstrap-compat shims — the project doesn't load Bootstrap, so the
   .row / .col-* classes used in this template need minimal styling to
   render the form as the intended 3-column / 6-column / 8-wide layout. */
.sell-appointment-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--ds-space-4);
}
.sell-appointment-section .row { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; }
.sell-appointment-section .row > [class*="col-"] { box-sizing: border-box; flex: 1 1 100%; min-width: 0; }
.sell-appointment-section .justify-content-center { justify-content: center; }
.sell-appointment-section .row > .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
.sell-appointment-section .row > .col-md-4 { flex: 1 1 calc(33.333% - 12px); min-width: 220px; }
.sell-appointment-section .row > .col-md-6 { flex: 1 1 calc(50% - 8px); min-width: 240px; }
.sell-appointment-section .row > .col-md-6.col-lg-3 { flex: 1 1 calc(25% - 12px); min-width: 220px; }
.sell-appointment-section .text-center { text-align: center; }
.sell-appointment-section .text-muted { color: var(--ds-muted); }
.sell-appointment-section .mb-3 { margin-bottom: 1rem; }
.sell-appointment-section .mb-4 { margin-bottom: 1.5rem; }
.sell-appointment-section .text-danger { color: var(--ds-danger); }
.appointment-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}
.form-section-label {
    font-size: var(--ds-text-lg);
    font-weight: 700;
    color: #005B5D;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #00A693;
    display: inline-block;
    margin-top: 1rem;
}
.form-section-label i {
    margin-left: 6px;
}
.form-control, .form-select {
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #dee2e6;
    transition: border-color 0.3s;
}
.form-control:focus, .form-select:focus {
    border-color: #00A693;
    box-shadow: 0 0 0 3px rgba(0,166,147,0.15);
}

/* Time Slots Grid */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}
.time-slot {
    padding: 10px;
    text-align: center;
    border-radius: 10px;
    border: 2px solid #dee2e6;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--ds-text-base);
    transition: all 0.2s;
    background: white;
}
.time-slot:hover:not(.disabled) {
    border-color: #00A693;
    background: rgba(0,166,147,0.05);
}
.time-slot.selected {
    background: #00A693;
    color: white;
    border-color: #00A693;
}
.time-slot.disabled {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    text-decoration: line-through;
}

.btn-submit-sell {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #00A693, #005B5D);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: var(--ds-text-lg);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}
.btn-submit-sell:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,166,147,0.3);
}
.btn-submit-sell:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Free Ad Section */
.sell-free-ad-section {
    padding: 60px 0;
    background: #F4F6F7;
}
.free-ad-card {
    background: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 2px dashed #dee2e6;
}
.free-ad-icon {
    font-size: 3rem;
    color: #00A693;
    margin-bottom: 1rem;
}
.free-ad-card h2 {
    font-size: var(--ds-text-2xl);
    font-weight: 800;
    color: #333;
    margin-bottom: 1rem;
}
.free-ad-card p {
    color: #7D8B94;
    font-size: var(--ds-text-base);
    margin-bottom: 1.5rem;
}
.btn-free-ad {
    background: white;
    color: #00A693;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid #00A693;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-free-ad:hover {
    background: #00A693;
    color: white;
}

/* FAQ */
.sell-faq-section {
    padding: 60px 0;
    background: white;
}
.faq-item {
    background: #F4F6F7;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: background 0.2s;
}
.faq-question:hover {
    background: #edf0f2;
}
.faq-arrow {
    transition: transform 0.3s;
    color: #00A693;
}
.faq-item.open .faq-arrow {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer {
    max-height: 200px;
}
.faq-answer p {
    padding: 0 20px 16px;
    color: #7D8B94;
    line-height: 1.8;
    margin: 0;
}

/* Loading spinner */
.slots-loading {
    text-align: center;
    padding: 1rem;
    color: #7D8B94;
}

/* Responsive */
@media (max-width: 768px) {
    .sell-hero { padding: 80px 20px 60px; }
    .sell-hero-title { font-size: var(--ds-text-2xl); }
    .sell-hero-subtitle { font-size: var(--ds-text-base); line-height: 1.7; }
    .appointment-card { padding: 1.5rem; }
    .time-slots-grid { grid-template-columns: repeat(3, 1fr); }
}
