/* ==============================================
   Vehicle Valuation Page Styles
   ============================================== */

/* Hero */
.val-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #00ADE5;
}
.val-hero-content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}
.val-hero-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #e6f7fd 0%, #d1effa 100%);
    border: 3px solid #00ADE5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.val-hero h1 {
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 2.2rem;
    color: #2c3e50;
}
.val-hero-text {
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.7;
}
.val-hero-text p {
    margin: 0;
}

/* Lookup Card */
.val-lookup-card {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 35px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    border: 2px solid #e8e8e8;
}
.val-lookup-card h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #00ADE5;
}
.val-reg-input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
    flex-wrap: wrap;
}
.val-reg-plate {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 250px;
    border: 3px solid #2c3e50;
    border-radius: 10px;
    overflow: hidden;
    background: #fffef0;
    transition: border-color 0.3s ease;
}
.val-reg-plate:focus-within {
    border-color: #00ADE5;
    box-shadow: 0 0 0 3px rgba(0, 173, 229, 0.15);
}
.val-reg-ie {
    background: #003399;
    color: white;
    padding: 15px 14px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    min-height: 56px;
}
.val-reg-plate input {
    border: none !important;
    background: transparent;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px;
    width: 100%;
    outline: none;
    color: #2c3e50;
    box-shadow: none !important;
}
.val-reg-plate input::placeholder {
    color: #aaa;
    font-weight: 400;
    font-size: 1rem;
    letter-spacing: 0;
}
.val-lookup-btn {
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    background: #00ADE5;
    border-color: #00ADE5;
    white-space: nowrap;
    min-height: 56px;
    transition: all 0.3s ease;
}
.val-lookup-btn:hover {
    background: #0090c4;
    border-color: #0090c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 173, 229, 0.3);
}
.val-lookup-btn:disabled {
    opacity: 0.7;
    transform: none;
}

/* Error */
.val-error {
    background: #fff5f5;
    color: #c0392b;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 15px;
    border: 1px solid #f5c6cb;
    font-weight: 500;
}

/* Vehicle Details Card */
.val-vehicle-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}
.val-vehicle-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 10px;
}
.val-vehicle-header h3 {
    margin: 0;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.4rem;
}
.val-vehicle-header h3 i {
    color: #00ADE5;
    margin-right: 10px;
}
.val-reg-badge {
    background: #2c3e50;
    color: #fffef0;
    padding: 8px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 2px;
}
.val-vehicle-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}
.val-spec {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #eee;
}
.val-spec-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 5px;
    font-weight: 600;
}
.val-spec-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Mileage Section */
.val-mileage-section {
    background: #f0f9ff;
    padding: 20px 25px;
    border-radius: 10px;
    border: 1px solid #d1effa;
}
.val-mileage-section label {
    display: block;
    margin-bottom: 12px;
    color: #2c3e50;
}
.val-mileage-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.val-mileage-input-group input {
    border: 2px solid #c8c8c8;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 1rem;
    width: 180px;
    transition: border-color 0.3s ease;
}
.val-mileage-input-group input:focus {
    border-color: #00ADE5;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 173, 229, 0.15);
}
.val-mileage-unit {
    font-weight: 600;
    color: #666;
}
.val-refine-btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 20px;
}

/* Valuation Results */
.val-results-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #00ADE5;
}
.val-results-card h3 {
    text-align: center;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 0 30px 0;
}
.val-price-range {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}
.val-price-box {
    text-align: center;
    padding: 25px 20px;
    border-radius: 12px;
    border: 2px solid #eee;
    transition: all 0.3s ease;
}
.val-price-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.val-price-label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
    margin-bottom: 10px;
}
.val-price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}
.val-price-desc {
    display: block;
    font-size: 0.85rem;
    color: #999;
}

/* Price box colours */
.val-price-trade {
    background: #fff8f0;
    border-color: #f0ad4e;
}
.val-price-trade .val-price-amount {
    color: #e67e22;
}
.val-price-private {
    background: #f0fff4;
    border-color: #27ae60;
}
.val-price-private .val-price-amount {
    color: #27ae60;
}
.val-price-retail {
    background: #f0f4ff;
    border-color: #3498db;
}
.val-price-retail .val-price-amount {
    color: #3498db;
}

/* Results Meta */
.val-results-meta {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #eee;
}
.val-results-meta p {
    margin: 5px 0;
    color: #666;
}
.val-results-meta .fa-info-circle {
    color: #00ADE5;
}
.val-disclaimer {
    font-size: 0.85rem;
    color: #999 !important;
    font-style: italic;
}

/* Similar Link */
.val-similar-link {
    text-align: center;
    margin-top: 20px;
}
.val-similar-link .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
}

/* No Results */
.val-no-results {
    text-align: center;
    padding: 30px;
}
.val-no-results h3 {
    color: #e67e22;
}

/* Content Sections */
.val-content-section {
    background: white;
    border-radius: 16px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}
.val-content-section h2 {
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #00ADE5;
}
.val-content-section h4 {
    color: #00ADE5;
    font-weight: 700;
    margin-top: 20px;
}
.val-section-body {
    color: #555;
    line-height: 1.8;
    font-size: 0.98rem;
}
.val-section-body ul {
    padding-left: 20px;
}
.val-section-body li {
    margin-bottom: 10px;
}
.val-section-image {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* CTA Section */
.val-cta-section {
    background: linear-gradient(135deg, #00ADE5 0%, #0090c4 100%);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 35px;
    text-align: center;
    color: white;
}
.val-cta-section h2 {
    color: white;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
}
.val-cta-section .val-section-body {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}
.val-cta-section a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}
.val-cta-section a:hover {
    color: #fffef0;
}

/* FAQ Section */
.val-faq-section {
    margin-bottom: 35px;
}
.val-faq-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #00ADE5;
    padding: 35px;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #00ADE5;
}
.val-faq-header h2 {
    margin: 0;
    font-weight: 700;
    font-size: 1.8rem;
    color: #2c3e50;
}
.val-faq-header p {
    color: #6c757d;
    font-size: 1rem;
    margin: 8px 0 0 0;
}
.val-faq-icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e6f7fd 0%, #d1effa 100%);
    border: 3px solid #00ADE5;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Reuse existing FAQ card styles from faq.php */
.val-faq-section .faq-card {
    background: white;
    border-radius: 12px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    overflow: hidden;
}
.val-faq-section .faq-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    border-color: #00ADE5;
}
.val-faq-section .faq-question {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0;
    padding: 20px 25px;
    background: white;
    transition: all 0.3s ease;
    user-select: none;
}
.val-faq-section .faq-question:hover {
    color: #00ADE5;
    background: #f8fcff;
}
.val-faq-section .faq-question-text {
    display: flex;
    align-items: center;
    flex: 1;
}
.val-faq-section .faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #00ADE5 0%, #0090c4 100%);
    color: white;
    font-weight: 700;
    margin-right: 15px;
    font-size: 0.9rem;
    border-radius: 8px;
    padding: 0 10px;
}
.val-faq-section .faq-answer {
    display: none;
    padding: 0 25px 25px 25px;
    color: #555;
    line-height: 1.8;
    background: #fafbfc;
    font-size: 0.95rem;
}
.val-faq-section .faq-toggle-icon {
    color: #00ADE5;
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e6f7fd;
}
.val-faq-section .faq-toggle-icon.active {
    transform: rotate(45deg);
    background: #00ADE5;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .val-hero {
        padding: 25px;
    }
    .val-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .val-hero h1 {
        font-size: 1.6rem;
    }
    .val-lookup-card {
        padding: 25px;
    }
    .val-reg-input-group {
        flex-direction: column;
    }
    .val-reg-plate {
        min-width: 100%;
    }
    .val-lookup-btn {
        width: 100%;
    }
    .val-vehicle-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    .val-price-range {
        grid-template-columns: 1fr;
    }
    .val-price-amount {
        font-size: 1.6rem;
    }
    .val-content-section,
    .val-vehicle-card,
    .val-results-card {
        padding: 25px;
    }
    .val-mileage-input-group {
        flex-direction: column;
        align-items: flex-start;
    }
    .val-mileage-input-group input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .val-vehicle-specs {
        grid-template-columns: 1fr;
    }
}
