/* Valuation Page Specific Styles */
.valuation-page {
    min-height: 100vh;
}

.valuation-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.valuation-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/background.jpg') center/cover;
    filter: brightness(0.4);
    z-index: -1;
}

.valuation-hero .hero-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    text-align: center;
}

.valuation-hero h1 {
    color: #1a365d;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.valuation-hero p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* How it works section */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a365d;
    margin-bottom: 3rem;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: white;
}

.step h3 {
    font-size: 1.5rem;
    color: #1a365d;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

/* Result display styles */
.property-details, .market-analysis {
    margin-bottom: 1.5rem;
}

.property-details h4, .market-analysis h4 {
    color: #1a365d;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row.highlight {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    padding: 0.75rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    font-weight: 600;
}

.label {
    color: #4a5568;
    font-weight: 500;
}

.value {
    color: #1a365d;
    font-weight: 600;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.market-item {
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

.market-label {
    display: block;
    font-size: 0.9rem;
    color: #4a5568;
    margin-bottom: 0.25rem;
}

.market-value {
    font-weight: 600;
    color: #1a365d;
}

.trend-tăng { color: #28a745; }
.trend-tăng-mạnh { color: #20c997; }
.trend-tăng-rất-mạnh { color: #17a2b8; }
.trend-ổn-định { color: #6c757d; }
.trend-giảm { color: #dc3545; }

.confidence {
    color: #28a745;
    font-weight: bold;
}

.amenities {
    margin: 1rem 0;
}

.amenities-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    display: block;
}

.amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.factors-analysis {
    background: #f8f9ff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.factors-analysis h5 {
    color: #1a365d;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
}

.factor-item {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
}

.factor-label {
    color: #4a5568;
    font-size: 0.9rem;
}

.factor-value {
    font-weight: 600;
}

.factor-value.positive { color: #28a745; }
.factor-value.negative { color: #dc3545; }
.factor-value.neutral { color: #6c757d; }

.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
}

.disclaimer small {
    color: #856404;
    line-height: 1.4;
}

/* Responsive design */
@media (max-width: 768px) {
    .valuation-hero h1 {
        font-size: 2rem;
    }
    
    .how-it-works h2 {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
    
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factors-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 0.25rem;
    }
}
