/* Vora Computers - Sell Your PC Page Styles */

/* ============================================
   Sell Hero
   ============================================ */
.sell-hero {
    padding-top: 200px;
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

body.scrolled .sell-hero {
    padding-top: 160px;
}

.sell-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sell-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .sell-hero {
        padding-top: 170px;
        padding-bottom: 40px;
    }

    body.scrolled .sell-hero {
        padding-top: 130px;
    }

    .sell-hero h1 {
        font-size: 1.8rem;
    }

    .sell-hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* ============================================
   Calculator Container
   ============================================ */
.sell-calculator {
    max-width: 700px;
    margin: -30px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   Step Indicator Bar
   ============================================ */
.calculator-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    background: white;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.calculator-steps .step {
    flex: 1;
    text-align: center;
    padding: 16px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #aaa;
    background: #f8f9fa;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.calculator-steps .step.active {
    color: var(--primary-color);
    background: white;
    border-bottom-color: var(--accent-color);
}

@media (max-width: 480px) {
    .calculator-steps .step {
        font-size: 0.75rem;
        padding: 12px 6px;
    }
}

/* ============================================
   Calculator Panels
   ============================================ */
.calculator-panel {
    display: none;
    background: white;
    padding: 40px 30px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.calculator-panel.active {
    display: block;
}

.calculator-panel h2 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 24px;
    text-align: center;
}

.calculator-panel h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .calculator-panel {
        padding: 30px 20px;
    }

    .calculator-panel h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   Device Type Buttons
   ============================================ */
.device-type-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.device-type-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 30px 40px;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 160px;
}

.device-type-btn:hover {
    border-color: var(--primary-color);
    background: #f0f5ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.15);
}

.device-type-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 16px rgba(30, 58, 95, 0.3);
}

.device-icon {
    font-size: 2.5rem;
}

@media (max-width: 480px) {
    .device-type-btn {
        padding: 24px 28px;
        min-width: 130px;
    }

    .device-icon {
        font-size: 2rem;
    }
}

/* ============================================
   Form Elements
   ============================================ */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

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

.form-group select,
.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    background: white;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-hint {
    font-size: 0.8rem;
    color: #888;
    margin-top: 6px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ============================================
   Buttons
   ============================================ */
.sell-calculator .btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-top: 12px;
}

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

.sell-calculator .btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.sell-calculator .btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.sell-calculator .btn-outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.sell-calculator .btn-outline:hover {
    background: #f0f5ff;
}

/* ============================================
   Condition Checklist
   ============================================ */
.condition-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.condition-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    color: var(--dark-color);
}

.condition-item:hover {
    border-color: var(--secondary-color);
    background: #f8faff;
}

.condition-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.condition-item input[type="checkbox"]:checked + .issue-icon {
    opacity: 1;
}

.issue-icon {
    font-size: 1.2rem;
    opacity: 0.6;
    flex-shrink: 0;
}

/* ============================================
   Photo Upload
   ============================================ */
.photo-upload {
    margin-bottom: 20px;
}

.photo-preview {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.photo-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

/* ============================================
   Estimate Result
   ============================================ */
.estimate-result {
    text-align: center;
    margin-bottom: 30px;
    padding: 24px;
    background: #f0fdf4;
    border-radius: 12px;
    border: 1.5px solid var(--success-color);
}

.estimate-range {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.estimate-low,
.estimate-high {
    font-size: 1.6rem;
    font-weight: 700;
}

.estimate-low {
    color: #888;
}

.estimate-high {
    color: var(--success-color);
}

.estimate-arrow {
    font-size: 1.4rem;
    color: #aaa;
}

.estimate-note {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 4px;
}

.estimate-disclaimer {
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 480px) {
    .estimate-low,
    .estimate-high {
        font-size: 1.2rem;
    }

    .estimate-range {
        gap: 10px;
    }
}

/* ============================================
   Breakdown Table
   ============================================ */
.estimate-breakdown {
    margin-bottom: 30px;
}

.estimate-breakdown h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.breakdown-table th {
    text-align: left;
    padding: 10px 12px;
    background: #f3f4f6;
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.breakdown-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.breakdown-table tr.deduction td {
    color: #ef4444;
    font-weight: 500;
}

.breakdown-table tr.total td {
    border-top: 2px solid var(--dark-color);
    color: var(--dark-color);
    font-size: 1rem;
}

/* ============================================
   Pickup Options
   ============================================ */
.pickup-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.pickup-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.pickup-option:hover {
    border-color: var(--primary-color);
    background: #f8faff;
}

.pickup-option input[type="radio"] {
    accent-color: var(--primary-color);
}

/* ============================================
   Confirmation Box
   ============================================ */
.confirmation-box {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.confirmation-box h2 {
    color: var(--success-color);
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.confirmation-box p {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.confirmation-box strong {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.confirmation-box .btn {
    margin-top: 24px;
}

/* ============================================
   Sell Banner (for homepage)
   ============================================ */
.sell-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.sell-banner .container {
    max-width: 600px;
    margin: 0 auto;
}

.sell-banner h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sell-banner p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 24px;
}

.sell-banner .btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    background: var(--accent-color);
    color: var(--dark-color);
}

.sell-banner .btn:hover {
    background: #fbbf24;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .sell-banner {
        padding: 40px 20px;
    }

    .sell-banner h2 {
        font-size: 1.5rem;
    }
}
