/* ============================================================================
   VALUATION PAGES STYLESHEET
   For National, PNCC, and Gisborne property valuation pages
   ========================================================================== */

/* Warning Banner */
.valuation-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #f0ad4e;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(240, 173, 78, 0.1);
}

.valuation-warning-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.valuation-warning-icon {
    font-size: 28px;
    color: #f0ad4e;
}

.valuation-warning-title {
    font-size: 18px;
    font-weight: 600;
    color: #856404;
    margin: 0;
}

.valuation-warning-text {
    color: #856404;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.valuation-warning-text:last-child {
    margin-bottom: 0;
}

.valuation-warning strong {
    font-weight: 600;
}

/* Coverage Info (Success/Complete) */
.valuation-coverage-info {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
    text-align: center;
}

.coverage-icon {
    font-size: 48px;
    color: #28a745;
    margin-bottom: 12px;
}

.coverage-title {
    font-size: 20px;
    font-weight: 600;
    color: #155724;
    margin: 0 0 12px 0;
}

.coverage-text {
    color: #155724;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.coverage-text strong {
    font-weight: 600;
}

/* Regional Links Section */
.regional-valuation-links {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 4px solid #533483;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
}

.regional-links-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.regional-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.regional-link-card {
    background: white;
    border-radius: 6px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.regional-link-card:hover {
    border-color: #533483;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(83, 52, 131, 0.15);
}

.regional-link-icon {
    font-size: 24px;
    color: #533483;
    flex-shrink: 0;
}

.regional-link-content h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.regional-link-content p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Search Container */
.valuation-search-section {
    background: linear-gradient(135deg, #533483 0%, #6a4a9e 100%);
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: visible;
    box-shadow: 0 8px 32px rgba(83, 52, 131, 0.3);
    z-index: 100;
}

.valuation-search-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.valuation-search-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.search-section-header {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.search-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.search-icon-wrapper i {
    font-size: 36px;
    color: white;
}

.search-section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-section-header p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.valuation-search-container {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    z-index: 200;
}

.search-input-wrapper {
    position: relative;
}

.search-input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
    z-index: 3;
}

.valuation-search-input {
    width: 100%;
    padding: 20px 24px;
    font-size: 17px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 201;
}

.valuation-search-input::placeholder {
    color: #999;
}

.valuation-search-input:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.valuation-search-input:focus + .search-input-animation {
    opacity: 1;
    animation: searchPulse 2s ease-in-out infinite;
}

.search-input-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

@keyframes searchPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.02);
        opacity: 0.8;
    }
}

.valuation-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 20px;
    pointer-events: none;
}

.valuation-search-results {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
    border: 2px solid rgba(83, 52, 131, 0.1);
}

.valuation-search-results.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-result-item {
    padding: 18px 24px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 10000;
    background: white;
    text-align: left;
}

.search-result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #533483;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: linear-gradient(90deg, rgba(83, 52, 131, 0.05) 0%, rgba(83, 52, 131, 0) 100%);
    padding-left: 28px;
    cursor: pointer;
}

.search-result-item:hover::before {
    opacity: 1;
}

.search-result-item:active {
    background: linear-gradient(90deg, rgba(83, 52, 131, 0.1) 0%, rgba(83, 52, 131, 0) 100%);
}

.search-result-address {
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    font-size: 15px;
}

.search-result-details {
    font-size: 13px;
    color: #666;
    display: flex;
    gap: 16px;
}

.search-no-results {
    padding: 24px;
    text-align: center;
    color: #666;
}

.search-tips {
    margin-top: 32px;
    position: relative;
    z-index: 2;
}

.search-tips-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
}

.search-tips-header i {
    font-size: 20px;
    color: #ffd700;
}

.search-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.search-tip {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.search-tip:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(4px);
}

.search-tip i {
    color: #4CAF50;
    font-size: 18px;
    flex-shrink: 0;
}

.search-tip span {
    color: white;
    font-size: 14px;
    line-height: 1.5;
}

/* Property Information Section */
.property-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 48px 40px;
    margin-bottom: 40px;
    margin-top: -24px;
    border: 2px solid #e8a838;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.property-info-header {
    text-align: center;
    margin-bottom: 40px;
}

.property-info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #533483 0%, #6a4a9e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 8px 24px rgba(83, 52, 131, 0.3);
}

.property-info-icon i {
    font-size: 32px;
    color: white;
}

.property-info-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.property-info-header p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.property-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.info-feature-card {
    background: white;
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid #e8a838;
    border-top: 4px solid #e8a838;
}

.info-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: all 0.4s ease;
}

.info-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.info-feature-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

/* Card Color Variations */
.capital-value-card::before {
    background: linear-gradient(135deg, #533483 0%, #7b52ab 100%);
}

.capital-value-card .info-feature-icon {
    background: linear-gradient(135deg, #533483 0%, #7b52ab 100%);
}

.capital-value-card .info-feature-badge {
    background: rgba(83, 52, 131, 0.1);
    color: #533483;
}

.rates-card::before {
    background: linear-gradient(135deg, #4A90E2 0%, #5ba3f5 100%);
}

.rates-card .info-feature-icon {
    background: linear-gradient(135deg, #4A90E2 0%, #5ba3f5 100%);
}

.rates-card .info-feature-badge {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
}

.boundary-card::before {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.boundary-card .info-feature-icon {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.boundary-card .info-feature-badge {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.area-card::before {
    background: linear-gradient(135deg, #f39c12 0%, #f5b041 100%);
}

.area-card .info-feature-icon {
    background: linear-gradient(135deg, #f39c12 0%, #f5b041 100%);
}

.area-card .info-feature-badge {
    background: rgba(243, 156, 18, 0.1);
    color: #f39c12;
}

.legal-card::before {
    background: linear-gradient(135deg, #e74c3c 0%, #ec7063 100%);
}

.legal-card .info-feature-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #ec7063 100%);
}

.legal-card .info-feature-badge {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.valuation-card::before {
    background: linear-gradient(135deg, #9b59b6 0%, #bb8fce 100%);
}

.valuation-card .info-feature-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #bb8fce 100%);
}

.valuation-card .info-feature-badge {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}

.info-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.info-feature-card:hover .info-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-feature-icon i {
    font-size: 28px;
    color: white;
}

.info-feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 12px 0;
}

.info-feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
}

.info-feature-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .valuation-search-section {
        padding: 32px 24px;
    }
    
    .search-section-header h2 {
        font-size: 24px;
    }
    
    .search-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .search-icon-wrapper i {
        font-size: 28px;
    }
    
    .search-tips-grid {
        grid-template-columns: 1fr;
    }
    
    .property-info-section {
        padding: 32px 24px;
    }
    
    .property-info-header h2 {
        font-size: 24px;
    }
    
    .property-info-grid {
        grid-template-columns: 1fr;
    }
    
    .valuation-search-input {
        font-size: 16px;
        padding: 18px 20px;
    }
}

/* Old Search Container Styles (keeping for backward compatibility) */
.valuation-search-container {
    position: relative;
}

/* Valuation Value Cards */
.valuation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.valuation-value-card {
    background: white;
    border-radius: 12px;
    padding: 28px 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.valuation-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    transition: height 0.3s ease;
}

.valuation-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.valuation-value-card:hover::before {
    height: 6px;
}

/* Capital Value Card - Purple */
.valuation-value-card.capital-value::before {
    background: linear-gradient(135deg, #533483 0%, #7b52ab 100%);
}

.valuation-value-card.capital-value .value-amount {
    color: #533483;
}

/* Land Value Card - Green */
.valuation-value-card.land-value::before {
    background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
}

.valuation-value-card.land-value .value-amount {
    color: #28a745;
}

/* Rates Card - Blue */
.valuation-value-card.rates-value::before {
    background: linear-gradient(135deg, #4A90E2 0%, #5ba3f5 100%);
}

.valuation-value-card.rates-value .value-amount {
    color: #4A90E2;
}

.value-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    font-weight: 600;
    display: block;
}

.value-amount {
    font-size: 32px;
    font-weight: 700;
    margin: 8px 0 12px 0;
    line-height: 1.2;
    display: block;
}

.value-description {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

.valuation-value-date {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* Legacy classes for backward compatibility */
.valuation-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.valuation-value-label {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 500;
}

.valuation-value-amount {
    font-size: 28px;
    font-weight: 700;
    color: #533483;
    margin: 0;
}

/* Property Details Grid */
.property-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.detail-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

.detail-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.detail-item > i {
    font-size: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* Icon colors for different detail types */
.detail-item:nth-child(1) > i {
    background: linear-gradient(135deg, #4A90E2 0%, #5ba3f5 100%);
    color: white;
}

.detail-item:nth-child(2) > i {
    background: linear-gradient(135deg, #f39c12 0%, #f5b041 100%);
    color: white;
}

.detail-item:nth-child(3) > i {
    background: linear-gradient(135deg, #533483 0%, #7b52ab 100%);
    color: white;
}

.detail-item:hover > i {
    transform: scale(1.1) rotate(5deg);
}

.detail-content {
    flex: 1;
    min-width: 0;
}

.detail-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    word-wrap: break-word;
    text-align: left;
}

/* Property Overview Grid */
.property-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.overview-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 10px;
    padding: 18px 20px;
    border-left: 4px solid #533483;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.overview-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(83, 52, 131, 0.15);
    border-left-width: 6px;
}

.overview-item:nth-child(2) {
    border-left-color: #4A90E2;
}

.overview-item:nth-child(3) {
    border-left-color: #28a745;
}

.overview-item:nth-child(4) {
    border-left-color: #f39c12;
}

.overview-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
}

.overview-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    line-height: 1.4;
}

/* Map Section Enhancements */
#propertyMap {
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 3px solid #e0e0e0;
    transition: all 0.3s ease;
}

#propertyMap:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
    border-color: #4A90E2;
}

.map-note {
    margin-top: 12px;
    color: #666;
    font-size: 14px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 8px;
    border-left: 4px solid #4A90E2;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-note i {
    color: #4A90E2;
    font-size: 16px;
}

.property-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.property-detail-icon {
    font-size: 24px;
    color: #533483;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(83, 52, 131, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.property-detail-content {
    flex: 1;
}

.property-detail-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.property-detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.property-detail-na {
    color: #999;
    font-style: italic;
}

/* Building Info Table */
.building-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.building-info-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.building-info-table tr:last-child {
    border-bottom: none;
}

.building-info-table th,
.building-info-table td {
    padding: 12px 16px;
    text-align: left;
}

.building-info-table th {
    font-weight: 600;
    color: #333;
    width: 40%;
    background: #f8f9fa;
}

.building-info-table td {
    color: #666;
}

/* Premium CTA Sections */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    margin-top: 40px;
    border: 2px solid #e0e0e0;
}

.cta-icon-large {
    font-size: 64px;
    color: #533483;
    margin-bottom: 24px;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 16px 0;
}

.cta-lead {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 32px 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 32px 0;
    text-align: left;
}

.cta-feature {
    background: white;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cta-feature:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(83, 52, 131, 0.15);
}

.cta-feature > i {
    font-size: 28px;
    color: #533483;
    width: 40px;
    flex-shrink: 0;
    margin-top: 4px;
}

.cta-feature div {
    flex: 1;
}

.cta-feature strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.cta-feature span {
    display: block;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.cta-buttons {
    margin: 32px 0 20px 0;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
}

.cta-note {
    font-size: 13px;
    color: #888;
    margin: 16px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cta-note i {
    color: #533483;
}

.premium-teaser {
    background: linear-gradient(135deg, #533483 0%, #6a4a9e 100%);
    border-radius: 8px;
    padding: 24px;
    color: white;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
}

.premium-teaser::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.premium-teaser-content {
    position: relative;
    z-index: 1;
}

.premium-teaser-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-teaser-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.premium-teaser-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-teaser-list li::before {
    content: '✓';
    font-weight: bold;
    color: #4CAF50;
    font-size: 18px;
}

.premium-cta-button {
    background: white;
    color: #533483;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.premium-cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Locked Content Overlay */
.locked-content {
    position: relative;
    opacity: 0.5;
    pointer-events: none;
    filter: blur(2px);
}

.locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(83, 52, 131, 0.95);
    color: white;
    padding: 20px 32px;
    border-radius: 8px;
    text-align: center;
    z-index: 10;
    pointer-events: all;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.locked-overlay-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.locked-overlay-text {
    margin: 0 0 16px 0;
    font-weight: 600;
}

/* Area Insights Section */
.area-insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.insight-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e0e0e0;
}

.insight-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.insight-card-icon {
    font-size: 28px;
}

.insight-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.insight-stat {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.insight-stat:last-child {
    border-bottom: none;
}

.insight-stat-label {
    color: #666;
    font-size: 14px;
}

.insight-stat-value {
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

/* Not Found State */
.not-found-container {
    text-align: center;
    padding: 60px 20px;
}

.not-found-icon {
    font-size: 80px;
    color: #ccc;
    margin-bottom: 24px;
}

.not-found-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.not-found-text {
    color: #666;
    line-height: 1.8;
    margin: 0 0 12px 0;
}

.not-found-suggestions {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 24px;
    margin-top: 32px;
    text-align: left;
}

.not-found-suggestions h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
}

.not-found-suggestions ul {
    margin: 0;
    padding-left: 24px;
}

.not-found-suggestions li {
    margin: 8px 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .valuation-values-grid {
        grid-template-columns: 1fr;
    }
    
    .property-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .area-insights-grid {
        grid-template-columns: 1fr;
    }
    
    .regional-links-grid {
        grid-template-columns: 1fr;
    }
    
    .valuation-value-amount {
        font-size: 24px;
    }
}

/* ============================================================================
   VALUATION HUB PAGE - Region Selection & Features
   ========================================================================== */

/* Regions Grid */
.valuation-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.valuation-region-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg, 12px);
    padding: 28px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(83, 52, 131, 0.1);
    transition: var(--transition-normal, all 0.3s ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.valuation-region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(83, 52, 131, 0.15);
    border-color: rgba(83, 52, 131, 0.3);
}

.valuation-region-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #533483 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.valuation-region-icon i {
    font-size: 28px;
    color: #ffffff;
}

.valuation-region-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.valuation-region-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.valuation-region-badge {
    background: #28a745;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Features Grid */
.valuation-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.valuation-feature-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg, 12px);
    padding: 28px;
    border: 1px solid rgba(83, 52, 131, 0.1);
    transition: var(--transition-normal, all 0.3s ease);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.valuation-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(83, 52, 131, 0.1);
}

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

.valuation-feature-icon i {
    font-size: 22px;
    color: #ffffff;
}

.valuation-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 12px 0;
}

.valuation-feature-card p {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* CTA Section Styling */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid rgba(83, 52, 131, 0.1);
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .valuation-regions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .valuation-features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .valuation-region-card,
    .valuation-feature-card {
        padding: 20px;
    }
    
    .valuation-region-card h3 {
        font-size: 1.3rem;
    }
    
    .valuation-region-card p {
        font-size: 0.9rem;
    }
    
    .valuation-region-icon {
        width: 50px;
        height: 50px;
    }
    
    .valuation-region-icon i {
        font-size: 24px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    
    /* Improve section spacing on mobile */
    .form-section {
        padding: var(--space-lg, 1.5rem);
        margin-bottom: var(--space-md, 1rem);
    }
    
    .section-icon {
        width: 40px;
        height: 40px;
    }
    
    .section-icon i {
        font-size: 1.2rem;
    }
    
    .form-section h2 {
        font-size: 1.5rem;
    }
    
    /* Header adjustments for mobile */
    .modern-header {
        padding: var(--space-lg, 1.5rem);
    }
    
    .modern-header h1 {
        font-size: 2rem;
    }
    
    .modern-header .header-subtitle {
        font-size: 0.95rem;
    }
    
    .header-icon {
        font-size: 2rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .valuation-region-card,
    .valuation-feature-card {
        padding: 16px;
    }
    
    .valuation-region-card h3 {
        font-size: 1.2rem;
    }
    
    .valuation-region-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .modern-header h1 {
        font-size: 1.75rem;
    }
    
    .modern-header .header-subtitle {
        font-size: 0.9rem;
    }
    
    .form-section h2 {
        font-size: 1.3rem;
    }
    
    .valuation-feature-card h3 {
        font-size: 1.1rem;
    }
    
    /* Better touch targets */
    .back-to-dashboard {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .btn {
        min-height: 48px; /* iOS recommended touch target */
    }
}

/* Tablet landscape and small desktop */
@media (min-width: 769px) and (max-width: 1024px) {
    .valuation-regions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .valuation-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Print styles */
@media print {
    .back-to-dashboard,
    .cta-section {
        display: none;
    }
    
    .valuation-region-card,
    .valuation-feature-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
