/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    color: #202427;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* Full screen background for step 1 */
body.step-1-active {
    background: #050607;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.background-media {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    opacity: 0;
    pointer-events: none;
    background: #050607;
    transition: opacity 0.7s ease;
}

.background-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 6, 7, 0.4) 0%, rgba(5, 6, 7, 0.78) 60%, rgba(5, 6, 7, 0.9) 100%);
    pointer-events: none;
}

.background-media video,
.background-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.step-1-active .background-media {
    opacity: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Full width container for step 1 */
body.step-1-active .container {
    max-width: none;
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Header */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

/* Header overlay for step 1 */
body.step-1-active .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: none;
    margin-bottom: 0;
    z-index: 1000;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 34px;
    width: auto;
}

/* White logo for step 1 overlay */
body.step-1-active .logo-svg path {
    fill: white !important;
}

/* Main Content */
.main {
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    position: relative;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    background: transparent;
}

/* Full screen main for step 1 */
body.step-1-active .main {
    height: 100vh;
    padding: 0 !important;
    margin: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    background: transparent !important;
}

/* Step 1 Special Styling - Hero Page */
.form-container.step-1-active {
    background: transparent !important;
    height: 100vh;
    border-radius: 0;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 auto;
    max-width: none;
    width: 100%;
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container.step-1-active .progress-indicator {
    display: none;
}

.form-container.step-1-active .form-step[data-step="1"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 20px;
    background: transparent !important;
    position: relative;
    z-index: 1;
    margin: 0;
    border: none;
    box-shadow: none;
}

/* Hero Content Box */
.hero-content-box {
    background: white;
    border-radius: 16px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    position: relative;
    flex-shrink: 0;
}

/* Animation removed - no smooth transition needed */

.hero-text {
    margin-bottom: 30px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #202427;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.125rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0 0 40px 0;
}

/* Address Input Wrapper */
.address-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.location-icon {
    position: absolute;
    left: 16px;
    color: #999;
    z-index: 1;
    pointer-events: none;
}

/* Form styling inside hero box */
.hero-content-box .form-label {
    color: #202427;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: left;
}

.hero-content-box .form-input {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px 16px 16px 48px;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
    text-indent: 16px;
}

.hero-content-box .form-input:focus {
    border-color: #678D72;
    box-shadow: 0 0 0 3px rgba(103, 141, 114, 0.1);
    outline: none;
    background: white;
}

/* Remove form-row styling for hero box */
.hero-content-box .form-row {
    margin: 0;
}

.hero-content-box .form-group {
    margin: 0;
}

/* Hero CTA Button */
.hero-cta-button {
    background: #B8826B !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    margin: 24px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
}

.hero-cta-button:hover {
    background: #A0522D !important;
}

.hero-cta-button:active {
    transform: translateY(0);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(103, 141, 114, 0.1);
    color: #678D72;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    border: 1px solid rgba(103, 141, 114, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(103, 141, 114, 0.1);
    text-align: center;
    line-height: 1.3;
}

.trust-badge:hover {
    background: rgba(103, 141, 114, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(103, 141, 114, 0.15);
}

.trust-badge svg {
    flex-shrink: 0;
    color: #678D72;
}

/* Hero Footer Overlay - shows on step 1 over video at bottom of viewport */
.hero-footer-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 24px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    backdrop-filter: blur(8px);
    display: none; /* Hidden by default, shown via JavaScript when step 1 is active */
    pointer-events: none;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.step-1-active .hero-footer-overlay {
    display: block;
}

/* Undgå dobbelt GDPR-tekst: hero-overlay viser den på trin 1 over video */
body.step-1-active .site-footer {
    display: none;
}

.hero-footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-align: center;
    margin: 0 auto;
    max-width: 900px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* Enhanced field error styling for better visibility */
.hero-content-box .field-error,
.field-error {
    color: #dc3545;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
    text-align: left;
    display: block;
    position: relative;
    width: 100%;
    clear: both;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    padding: 8px 12px;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.1);
}

/* Enhanced checkbox group error styling */
.checkbox-group.error {
    border-color: #dc3545;
    background-color: #fff5f5;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    border-width: 2px;
}

.checkbox-group.error .checkbox-label {
    color: #dc3545;
    font-weight: 600;
}

.checkbox-group.error .input-hint {
    color: #dc3545;
    font-weight: 500;
}

/* Enhanced consent checkbox error styling */
.checkbox-group.error .checkbox-label {
    color: #dc3545;
    font-weight: 600;
    animation: shake 0.5s ease-in-out;
}

.checkbox-group.error .input-hint {
    color: #dc3545;
    font-weight: 500;
    animation: pulse-red 1s ease-in-out infinite;
}

/* Shake animation for error state */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Pulse animation for error hints */
@keyframes pulse-red {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Special styling for consent checkbox errors */
.checkbox-group.error .checkbox-label::before {
    content: "⚠️ ";
    margin-right: 4px;
    font-size: 1.1em;
}

/* Step transition animation */
.form-step {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-step:not(.active) {
    opacity: 0;
    transform: translateX(50px);
    pointer-events: none;
}

.form-step.active {
    opacity: 1;
    transform: translateX(0);
}

/* Special animation for step 2 */
.form-step[data-step="2"].active {
    animation: step2SlideIn 0.8s ease-out;
}

@keyframes step2SlideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hide main title and subtitle on step 1 */
.form-container.step-1-active .form-title {
    display: none;
}

/* Mobile responsive styles for hero box */
@media (max-width: 768px) {
    /* Ensure full height background on mobile including dangerous area */
    body.step-1-active {
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile browsers */
        min-height: 100vh;
        min-height: 100dvh;
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    body.step-1-active .main {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    .hero-content-box {
        padding: 40px 24px;
        margin: 0 16px;
        max-width: none;
        border-radius: 12px;
    }
    
    .hero-text {
        margin-bottom: 32px;
    }
    
    .hero-title {
        font-size: 1.9rem;
        margin-bottom: 12px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin: 0 0 32px 0;
        line-height: 1.4;
    }
    
    .address-autocomplete {
        margin-bottom: 24px;
    }
    
    .hero-cta-button {
        margin-top: 24px;
        padding: 18px 24px;
        font-size: 1.1rem;
    }
    
    .trust-badges {
        margin-top: 28px;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
    
    .trust-badge {
        font-size: 13px;
        padding: 10px 16px;
        line-height: 1.4;
        text-align: center;
        max-width: 100%;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    /* Extra small mobile - ensure full coverage */
    body.step-1-active {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    body.step-1-active .main {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-content-box {
        padding: 32px 20px;
        margin: 0 12px;
        border-radius: 10px;
    }
    
    .hero-text {
        margin-bottom: 28px;
    }
    
    .hero-title {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin: 0 0 28px 0;
        line-height: 1.4;
    }
    
    .address-autocomplete {
        margin-bottom: 20px;
    }
    
    .hero-cta-button {
        margin-top: 20px;
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .trust-badges {
        margin-top: 24px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 8px;
    }
    
    .trust-badge {
        font-size: 12px;
        padding: 8px 12px;
        text-align: center;
        line-height: 1.3;
        max-width: 100%;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-footer-overlay {
        padding: 20px 16px 16px 16px;
    }
    
    .hero-footer-text {
        font-size: 11px;
        line-height: 1.5;
    }
}

.form-container.step-1-active .form-subtitle {
    display: none;
}

/* Hide form header from step 2 onwards */
.form-container:not(.step-1-active) .form-header {
    display: none;
}

/* Price Adjustment Section */
.price-adjustment-section {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.adjustment-header {
    text-align: center;
    margin-bottom: 24px;
}

.adjustment-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #202427;
    margin-bottom: 8px;
}

.adjustment-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.adjustment-content {
    max-width: 500px;
    margin: 0 auto;
}

.current-price-display {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.price-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #678D72;
}

.price-input-group {
    margin-bottom: 24px;
}

.adjustment-label {
    display: block;
    font-weight: 500;
    color: #202427;
    margin-bottom: 8px;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.price-input {
    width: 100%;
    padding: 12px 16px;
    padding-right: 40px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #678D72;
}

.currency-suffix {
    position: absolute;
    right: 12px;
    color: #666;
    font-weight: 500;
    pointer-events: none;
}

.adjustment-hint {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.countdown-section {
    text-align: center;
    margin-bottom: 24px;
}

.countdown-timer {
    display: inline-block;
}

.countdown-circle {
    position: relative;
    display: inline-block;
}

.countdown-svg {
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 3;
}

.countdown-progress {
    fill: none;
    stroke: #678D72;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 700;
    color: #202427;
}

.countdown-label {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

.adjustment-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.adjustment-actions .btn {
    min-width: 160px;
}

@media (max-width: 768px) {
    .price-adjustment-section {
        padding: 20px;
    }
    
    .adjustment-actions {
        flex-direction: column;
    }
    
    .adjustment-actions .btn {
        width: 100%;
    }
}

/* Step title - LokalBolig Boligberegner with Lokalbolig styling */
.form-container.step-1-active .step-title {
    font-family: 'Inter', 'Source Sans Pro', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.form-container.step-1-active .step-description {
    font-size: 1.25rem;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.form-container.step-1-active .form-row.single {
    max-width: 600px;
    width: 100%;
}

.form-container.step-1-active .form-group {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.form-container.step-1-active .form-label {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-container.step-1-active .form-input {
    font-size: 1.1rem;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-container.step-1-active .form-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
}

.form-container.step-1-active .input-hint {
    color: #666;
    font-size: 0.95rem;
    margin-top: 10px;
}

.form-container.step-1-active .address-suggestions {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid #e0e0e0;
}

/* Hide navigation buttons on step 1 */
.form-container.step-1-active .navigation-buttons {
    display: none;
}

/* Success animation inline with input */
.form-input.success {
    border-color: #4CAF50 !important;
    background-color: rgba(76, 175, 80, 0.1) !important;
    position: relative;
    transition: all 0.3s ease;
}

.address-success-checkmark {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0;
    scale: 0;
    transition: opacity 0.2s ease, scale 0.2s ease;
}

.address-success-checkmark.show {
    opacity: 1;
    scale: 1;
}

.address-success-checkmark svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #4CAF50;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
}

.address-success-checkmark svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    transition: none;
}

.address-success-checkmark svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
    transition: none;
}

.address-success-checkmark.show svg path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.3s linear;
}

.address-success-checkmark.show svg polyline {
    stroke-dashoffset: 42;
    transition: stroke-dashoffset 0.2s linear;
    transition-delay: 0.15s;
}


/* Mobile optimization for step 1 */
@media (max-width: 768px) {
    .form-container.step-1-active {
        height: 100vh !important;
        margin: 0 auto !important;
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }
    
    .form-container.step-1-active .form-step[data-step="1"] {
        height: 100% !important;
        padding: 0 20px;
    }
    
    
    .form-container.step-1-active .step-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .form-container.step-1-active .step-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .form-container.step-1-active .form-group {
        padding: 20px;
        border-radius: 15px;
    }
    
    .form-container.step-1-active .form-input {
        font-size: 1rem;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .form-container.step-1-active {
        height: 100vh !important;
        margin: 0 auto !important;
        width: 100% !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
    }
    
    .form-container.step-1-active .form-step[data-step="1"] {
        height: 100% !important;
        padding: 0 16px;
    }
    
    
    .form-container.step-1-active .step-title {
        font-size: 1.8rem;
    }
    
    .form-container.step-1-active .step-description {
        font-size: 0.9rem;
    }
    
    .form-container.step-1-active .form-group {
        padding: 15px;
        border-radius: 12px;
    }
}

.form-container {
    max-width: 900px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    padding: 48px;
    border: 1px solid rgba(103, 141, 114, 0.1);
    position: relative;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 48px;
}

.form-title {
    font-size: 42px;
    font-weight: 800;
    color: #202427;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.form-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 32px;
    font-weight: 400;
}


/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 100%;
    overflow-x: auto;
    padding: 0 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 60px;
    flex-shrink: 0;
}

.progress-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 100%;
    width: 8px;
    height: 2px;
    background-color: #e5e5e5;
    transform: translateX(4px);
}

.progress-step.active::after,
.progress-step.completed::after {
    background-color: #678D72;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e5e5e5;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background-color: #678D72;
    color: #ffffff;
}

.progress-step.completed .step-number {
    background-color: #678D72;
    color: #ffffff;
}

.step-label {
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.2;
}

.progress-step.active .step-label {
    color: #202427;
    font-weight: 500;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Step Header */
.step-header {
    margin-bottom: 40px;
    text-align: center;
}

.step-title {
    font-size: 32px;
    font-weight: 700;
    color: #202427;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

.step-description {
    font-size: 18px;
    color: #666;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}


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

.form-row:last-child {
    margin-bottom: 0;
}

.form-row.single {
    grid-template-columns: 1fr;
}

/* Form Groups */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #202427;
    margin-bottom: 8px;
    letter-spacing: -0.1px;
}

.input-hint {
    font-size: 14px;
    color: #888;
    margin-top: 6px;
    font-weight: 400;
    line-height: 1.4;
}

/* Address Autocomplete */
.address-autocomplete {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 300px; /* Increased from 200px for more suggestions */
    overflow-y: auto;
    display: none;
    /* Better scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.address-suggestion {
    padding: 16px 20px; /* Increased padding for better touch targets on mobile */
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
    text-align: left;
    /* Better touch targets on mobile - minimum 44px height */
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 15px; /* Slightly larger font for mobile readability */
    line-height: 1.4;
}

.address-suggestion:hover {
    background-color: #f8f9fa;
}

.address-suggestion:last-child {
    border-bottom: none;
}

/* DAWA Autocomplete Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

.address-suggestion.highlighted {
    background-color: #e8f5e9 !important;
    color: #2e7d32;
    font-weight: 500;
}


/* Review Summary */
.review-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(103, 141, 114, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.review-summary h3 {
    font-size: 24px;
    font-weight: 700;
    color: #202427;
    margin-bottom: 24px;
    letter-spacing: -0.2px;
}

.review-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.review-group {
    margin-bottom: 2rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.review-group-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3b82f6;
}

.review-group-items {
    display: grid;
    gap: 0.75rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
}

.review-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.review-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
}

.review-value {
    color: #6b7280;
    text-align: left;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    background-color: #ffffff;
    color: #202427;
    transition: all 0.3s ease;
    font-weight: 400;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #678D72;
    box-shadow: 0 0 0 3px rgba(103, 141, 114, 0.1);
    transform: translateY(-1px);
}

.form-input:hover,
.form-select:hover {
    border-color: #d0d0d0;
}

.form-input::placeholder {
    color: #999;
    font-weight: 400;
}

/* Autofill styling */
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus,
.form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
    -webkit-text-fill-color: #202427 !important;
    background-color: #ffffff !important;
    border: 2px solid #678D72 !important;
}

.form-input:-webkit-autofill::first-line {
    font-size: 16px;
    font-family: inherit;
}

/* Rating Groups */
.rating-group {
    margin-bottom: 32px;
    padding: 28px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid rgba(103, 141, 114, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.rating-group:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.rating-group.error {
    border-color: #dc3545;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.15);
}

.rating-label {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #202427;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.rating-description {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    font-weight: 400;
}

.rating-hint {
    background: rgba(103, 141, 114, 0.1);
    border: 1px solid rgba(103, 141, 114, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #678D72;
    line-height: 1.4;
}

.rating-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.rating-btn {
    width: 52px;
    height: 52px;
    min-width: 52px;
    max-width: 52px;
    min-height: 52px;
    max-height: 52px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    background-color: #ffffff;
    color: #202427;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    user-select: none;
    -webkit-user-select: none;
}

.rating-btn:disabled,
.rating-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.rating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: 0;
    pointer-events: none;
}

.rating-btn:disabled,
.rating-btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.rating-locked-message {
    background: linear-gradient(135deg, #f0f7f2 0%, #e8f5eb 100%);
    border: 2px solid #678D72;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    animation: slideDown 0.3s ease-out;
}

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

.locked-message-content {
    display: flex;
    align-items: center;
    color: #2d4a35;
    font-size: 14px;
    line-height: 1.5;
}

.locked-message-content strong {
    color: #678D72;
    font-weight: 600;
}

/* Hover effect - only for enabled, non-selected buttons */
.rating-btn:not(:disabled):not(.selected):not([disabled]):hover::before {
    left: 100%;
}

.rating-btn:not(:disabled):not(.selected):not([disabled]):hover {
    border-color: #678D72;
    background-color: #f0f4f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(103, 141, 114, 0.2);
    z-index: 2;
}

/* Selected state - highest priority */
.rating-btn.selected {
    background: linear-gradient(135deg, #678D72 0%, #5a7a63 100%);
    border-color: #678D72;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(103, 141, 114, 0.3);
    z-index: 2;
}

/* Ensure text is always visible above pseudo-elements */
.rating-btn > * {
    position: relative;
    z-index: 1;
}

/* Checkbox Group */
.checkbox-group {
    margin-top: 32px;
    padding: 24px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.checkbox-group.error {
    border-color: #dc3545;
    background-color: #fff5f5;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    border-width: 2px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #202427;
}

.checkbox-input {
    display: none;
}

/* Animated SVG Checkbox */
.check {
    cursor: pointer;
    position: relative;
    margin-right: 12px;
    width: 18px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
    flex-shrink: 0;
}

.checkbox-text {
    flex: 1;
    text-align: left;
}


.check svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c8ccd4;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.check svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.check svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}


.check:hover svg {
    stroke: #678D72;
}

.checkbox-input:checked + .check svg {
    stroke: #678D72;
    stroke-width: 2;
}

.checkbox-input:checked + .check svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

.checkbox-input:checked + .check svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}


.checkbox-group:has(.checkbox-input:checked) {
    background: linear-gradient(135deg, rgba(103, 141, 114, 0.05) 0%, rgba(103, 141, 114, 0.02) 100%);
    border-color: #678D72;
}

/* Buttons */
.btn {
    padding: 18px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    letter-spacing: -0.1px;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #DC785A 0%, #c66a4a 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(220, 120, 90, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c66a4a 0%, #b55a3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(220, 120, 90, 0.4);
}

.btn-valuation {
    background-color: #CA7E66 !important;
    border-color: #CA7E66 !important;
    color: #ffffff !important;
}

.btn-valuation:hover {
    background-color: #CA7E66 !important;
    border-color: #CA7E66 !important;
    transform: none;
}

.btn-secondary {
    background-color: #ffffff;
    color: #202427;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.btn-secondary:hover {
    background-color: #f8f9fa;
    border-color: #678D72;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
}

/* Hide navigation buttons on step 1 */
.form-container.step-1-active .form-navigation {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    
    .form-container {
        padding: 24px 16px;
        margin: 0 8px;
    }
    
    .form-title {
        font-size: 32px;
    }
    
    .form-subtitle {
        font-size: 18px;
    }
    
    .form-benefits {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .progress-indicator {
        display: none; /* Hide completely on mobile */
    }
    
    /* Alternative: Show simplified mobile step info */
    .mobile-step-info {
        display: block;
        text-align: center;
        margin-bottom: 20px;
        padding: 12px 20px;
        background: rgba(103, 141, 114, 0.1);
        border-radius: 8px;
        border: 1px solid rgba(103, 141, 114, 0.2);
    }
    
    .mobile-step-info .step-title {
        font-size: 16px;
        font-weight: 600;
        color: #678D72;
        margin-bottom: 4px;
    }
    
    .mobile-step-info .step-progress {
        font-size: 12px;
        color: #6c757d;
    }
    
    .step-title {
        font-size: 28px;
    }
    
    .step-description {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-container .rating-buttons {
        gap: 6px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .form-container .rating-btn {
        width: 42px;
        height: 42px;
        font-size: 15px;
        min-width: 42px;
        flex: 0 0 auto;
        text-align: center;
    }
    
    .rating-group {
        padding: 20px;
    }
    
    .rating-label {
        font-size: 18px;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
    }
    
    .review-content {
        grid-template-columns: 1fr;
    }
    
    .address-suggestions {
        max-height: 250px; /* Increased for better mobile UX */
    }
    
    .address-suggestion {
        padding: 18px 16px; /* Larger touch targets on mobile */
        font-size: 16px; /* Larger font for mobile readability */
    }
    
}

@media (max-width: 480px) {
    .container {
        padding: 0 4px;
    }
    
    .form-container {
        padding: 20px 12px;
        margin: 0 4px;
    }
    
    .progress-indicator {
        flex-direction: column;
        gap: 20px;
    }
    
    .progress-step:not(:last-child)::after {
        display: none;
    }
    
    .form-container .rating-buttons {
        gap: 4px;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .form-container .rating-btn {
        width: 38px;
        height: 38px;
        min-width: 38px;
        max-width: 38px;
        min-height: 38px;
        max-height: 38px;
        font-size: 13px;
        flex: 0 0 auto;
        border-radius: 10px;
        text-align: center;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
}

/* Social Media Footer */
.social-footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid #e5e5e5;
    text-align: center;
}

.social-footer h3 {
    font-size: 24px;
    font-weight: 700;
    color: #202427;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tailwind CSS utility classes for social buttons */
.group {
    position: relative;
}

.w-12 {
    width: 3rem;
}

.hover\:w-44:hover {
    width: 8rem;
}

.h-12 {
    height: 3rem;
}

.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-purple-500 {
    --tw-gradient-from: #8b5cf6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(139, 92, 246, 0));
}

.via-pink-500 {
    --tw-gradient-stops: var(--tw-gradient-from), #ec4899, var(--tw-gradient-to, rgba(236, 72, 153, 0));
}

.to-orange-500 {
    --tw-gradient-to: #f97316;
}

.from-blue-500 {
    --tw-gradient-from: #3b82f6;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(59, 130, 246, 0));
}

.via-blue-600 {
    --tw-gradient-stops: var(--tw-gradient-from), #2563eb, var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

.to-blue-700 {
    --tw-gradient-to: #1d4ed8;
}

.relative {
    position: relative;
}

.rounded {
    border-radius: 0.25rem;
}

.text-neutral-50 {
    color: #fafafa;
}

.duration-700 {
    transition-duration: 700ms;
}

.font-bold {
    font-weight: 700;
}

.flex {
    display: flex;
}

.justify-start {
    justify-content: flex-start;
}

.gap-2 {
    gap: 0.5rem;
}

.items-center {
    align-items: center;
}

.p-2 {
    padding: 0.5rem;
}

.pr-6 {
    padding-right: 1.5rem;
}

.before\:absolute::before {
    content: var(--tw-content);
    position: absolute;
}

.before\:-z-10::before {
    z-index: -10;
}

.before\:left-8::before {
    left: 2rem;
}

.before\:hover\:left-40:hover::before {
    left: 6rem;
}

.before\:w-6::before {
    width: 1.5rem;
}

.before\:h-6::before {
    height: 1.5rem;
}

.before\:bg-pink-600::before {
    background-color: #db2777;
}

.before\:hover\:bg-pink-500:hover::before {
    background-color: #ec4899;
}

.before\:bg-blue-600::before {
    background-color: #2563eb;
}

.before\:hover\:bg-blue-500:hover::before {
    background-color: #3b82f6;
}

.before\:rotate-45::before {
    transform: rotate(45deg);
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.shrink-0 {
    flex-shrink: 0;
}

.fill-neutral-50 {
    fill: #fafafa;
}

.origin-left {
    transform-origin: left;
}

.inline-flex {
    display: inline-flex;
}

.group-hover\:duration-300:hover {
    transition-duration: 300ms;
}

.group-hover\:delay-500:hover {
    transition-delay: 500ms;
}

.opacity-0 {
    opacity: 0;
}

.group-hover\:opacity-100:hover {
    opacity: 1;
}

.border-l-2 {
    border-left-width: 2px;
    border-left-color: rgba(255, 255, 255, 0.5);
    margin-left: 0.5rem;
}

.px-1 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.scale-x-0 {
    --tw-scale-x: 0;
}

.group-hover\:scale-x-100:hover {
    --tw-scale-x: 1;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}


/* Property Data Section */
.property-data-section {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.property-data-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.property-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease forwards;
    margin-bottom: 8px;
}

.property-item:nth-child(1) { animation-delay: 0.1s; }
.property-item:nth-child(2) { animation-delay: 0.2s; }
.property-item:nth-child(3) { animation-delay: 0.3s; }
.property-item:nth-child(4) { animation-delay: 0.4s; }
.property-item:nth-child(5) { animation-delay: 0.5s; }
.property-item:nth-child(6) { animation-delay: 0.6s; }

.property-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: #007bff;
}

.property-label {
    font-weight: 500;
    color: #495057;
    font-size: 0.9rem;
}

.property-value-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.property-value-input {
    padding: 8px 12px;
    border: 2px solid #e5e5e5;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    text-align: center;
    transition: all 0.2s ease;
    background: white;
}

.property-value-input:focus {
    outline: none;
    border-color: #678D72;
    box-shadow: 0 0 0 3px rgba(103, 141, 114, 0.1);
}

.property-value-input:hover {
    border-color: #678D72;
}

.property-unit {
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

.property-value {
    font-weight: 700;
    color: #28a745;
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    position: relative;
}

.property-value:hover {
    background: #f8f9fa;
    color: #007bff;
}

.property-value.editing {
    background: #e3f2fd;
    border: 2px solid #2196f3;
    color: #1565c0;
}

.property-value input {
    border: none;
    background: transparent;
    font-weight: 700;
    color: #1565c0;
    font-size: 1rem;
    width: 100%;
    text-align: left;
    outline: none;
}

.property-value input:focus {
    outline: none;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.number-animation {
    animation: countUp 0.8s ease forwards;
}

/* Loading animation with checkmark */
.loading-checkbox {
    cursor: pointer;
    position: relative;
    margin: auto;
    width: 18px;
    height: 18px;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.loading-checkbox:before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(34, 50, 84, 0.03);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.loading-checkbox svg {
    position: relative;
    z-index: 1;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: #c8ccd4;
    stroke-width: 1.5;
    transform: translate3d(0, 0, 0);
    transition: all 0.2s ease;
}

.loading-checkbox svg path {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.loading-checkbox svg polyline {
    stroke-dasharray: 22;
    stroke-dashoffset: 66;
}

.loading-checkbox:hover:before {
    opacity: 1;
}

.loading-checkbox:hover svg {
    stroke: #4caf50;
}

.loading-checkbox.loaded svg {
    stroke: #4caf50;
}

.loading-checkbox.loaded svg path {
    stroke-dashoffset: 60;
    transition: all 0.3s linear;
}

.loading-checkbox.loaded svg polyline {
    stroke-dashoffset: 42;
    transition: all 0.2s linear;
    transition-delay: 0.15s;
}

.loading-checkbox.loading svg {
    stroke: #2196f3;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Price Estimation Section */
.price-estimation-section {
    background: linear-gradient(135deg, #678D72 0%, #5a7a63 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 8px 32px rgba(103, 141, 114, 0.3);
}

.price-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: -0.2px;
}

.price-estimation-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.price-items-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.price-estimation-content .price-item {
    flex: 0 0 auto;
}

.price-estimation-content .price-range-container {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 0;
}

.price-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.price-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.price-item-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-item-value {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.price-item-detail {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.price-range {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    margin-top: 20px;
}

/* PC optimization for price range */
@media (min-width: 768px) {
    .price-range {
        padding: 32px;
        margin-top: 24px;
    }
    
    .price-range-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .price-range-value {
        font-size: 42px;
        margin-bottom: 12px;
    }
    
    .price-range-note {
        font-size: 16px;
    }
}

.price-range-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.price-range-value {
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.price-range-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
}

/* Sales section inside price estimation */
.price-estimation-section .recent-sales-section {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.price-estimation-section .sales-title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
}

.price-estimation-section .recent-sales-content {
    color: white;
}

.price-estimation-section .recent-sales-content p {
    color: white !important;
    font-size: 14px;
    margin-bottom: 15px;
}

.price-estimation-section .sale-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    backdrop-filter: blur(5px);
}

.price-estimation-section .sale-address {
    color: white;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
}

.price-estimation-section .sale-details {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.price-estimation-section .sale-price {
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.price-estimation-section .sale-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.price-estimation-section .sale-kvm-price {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 4px;
    display: inline-block;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 20px;
}

.show-more-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.show-more-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Detail Button */
.detail-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.3s ease;
    min-width: 60px; /* Ensures consistent width */
    text-align: center;
    display: inline-block;
}

.detail-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Basis price calculation section - matching price section design */
.basis-price-calculation-section {
    margin-top: 20px;
}

.basis-price-toggle {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.basis-price-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.basis-price-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-radius: 0 0 12px 12px;
    margin-top: -12px;
    backdrop-filter: blur(10px);
}

.basis-price-arrow {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* Estimate info box */
.estimate-info-box {
    margin-top: 24px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Enhanced CTA container */
.cta-button-container {
    margin-top: 32px;
}

/* Price breakdown modal */
.price-breakdown-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.price-breakdown-content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    margin: 20px;
}

.price-breakdown-content h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
}

.breakdown-section {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.breakdown-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

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

.breakdown-item.total {
    font-weight: bold;
    background: #e8f5e8;
    margin: 10px -10px -10px -10px;
    padding: 10px;
    border-radius: 4px;
}

.breakdown-item.final-total {
    font-weight: bold;
    background: #4CAF50;
    color: white;
    margin: 10px -10px -10px -10px;
    padding: 15px 10px;
    border-radius: 4px;
    font-size: 18px;
}

.close-breakdown-btn {
    background: #f44336;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.close-breakdown-btn:hover {
    background: #d32f2f;
}

/* Renovation option styling */
.renovation-option {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
}

.renovation-option .checkbox-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
}

.renovation-option .input-hint {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Price Calculation Modal - Centered */
.price-calculation-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    padding: 20px;
    box-sizing: border-box;
}

.price-calculation-modal .modal-content {
    background: white;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
    position: relative;
}

.price-calculation-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f0f0f0;
}

.price-calculation-modal .modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.price-calculation-modal .close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    color: #666;
    transition: all 0.2s ease;
    font-size: 20px;
    line-height: 1;
}

.price-calculation-modal .close-btn:hover {
    background: #f5f5f5;
    color: #333;
}

.price-calculation-modal .modal-body {
    padding: 24px;
}

.price-calculation-modal .calculation-section {
    margin-bottom: 20px;
    padding: 0;
    background: none;
    border: none;
}

.price-calculation-modal .calculation-section h4 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 6px;
}

.price-calculation-modal .calculation-section p {
    margin: 6px 0;
    color: #555;
    font-size: 14px;
    line-height: 1.4;
}

.price-calculation-modal .calculation-section p strong {
    color: #333;
    font-weight: 500;
}

/* Responsive Uddyb Modal */
@media (max-width: 768px) {
    .price-calculation-modal {
        padding: 10px;
    }
    
    .price-calculation-modal .modal-content {
        width: 100%;
        max-width: 100%;
        margin: 0;
        max-height: 90vh;
    }
    
    .price-calculation-modal .modal-header {
        padding: 16px 20px;
    }
    
    .price-calculation-modal .modal-header h3 {
        font-size: 16px;
    }
    
    .price-calculation-modal .modal-body {
        padding: 20px;
    }
    
    .price-calculation-modal .calculation-section {
        margin-bottom: 16px;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.modal-header h3 {
    color: #202427;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.modal-body {
    padding: 24px;
}

.calculation-section {
    margin-bottom: 32px;
}

.calculation-section h4 {
    color: #202427;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 8px;
}

.calculation-section p {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.sales-breakdown {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 16px;
}

.breakdown-sale-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.breakdown-sale-item:last-child {
    border-bottom: none;
}

.breakdown-address {
    font-weight: 600;
    color: #202427;
    flex: 1;
}

.breakdown-details {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #666;
}

.breakdown-details span {
    min-width: 80px;
    text-align: left;
}

.breakdown-price {
    font-weight: 700;
    color: #2e7d32;
}

.breakdown-kvm {
    font-weight: 600;
    color: #1976d2;
}



/* Market Analysis Styles */
.market-analysis {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.price-comparison {
    margin-bottom: 25px;
}

.price-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.price-bar {
    position: relative;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.price-bar.sold {
    border-left-color: #28a745;
}

.price-bar.listings {
    border-left-color: #ffc107;
}

.price-bar.combined {
    border-left-color: #dc3545;
    font-weight: bold;
}

.price-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.price-bar-fill {
    height: 8px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.price-bar.sold .price-bar-fill {
    background: linear-gradient(90deg, #28a745, #1e7e34);
}

.price-bar.listings .price-bar-fill {
    background: linear-gradient(90deg, #ffc107, #e0a800);
}

.price-bar.combined .price-bar-fill {
    background: linear-gradient(90deg, #dc3545, #c82333);
}

.price-explanation {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.price-explanation p {
    margin-bottom: 10px;
    color: #333;
}

.price-explanation ul {
    margin: 0;
    padding-left: 20px;
}

.price-explanation li {
    margin-bottom: 8px;
    color: #666;
    line-height: 1.5;
}

.recent-sales-section {
    margin-top: 20px;
}

.recent-sales-section h5 {
    color: #333;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 8px;
}

/* Price Calculation Details Modal */
.breakdown-listing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
    margin-bottom: 5px;
    border-radius: 4px;
}

.breakdown-listing-item:last-child {
    border-bottom: none;
}

.breakdown-address {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.breakdown-details {
    display: flex;
    gap: 15px;
    align-items: center;
}

.breakdown-details span {
    font-size: 14px;
    color: #666;
}

.breakdown-price {
    font-weight: 600;
    color: #2c5aa0;
}

.breakdown-kvm {
    font-weight: 600;
    color: #28a745;
}

.breakdown-status {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.listings-breakdown {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px;
    background: white;
}

/* DAWA Address Autocomplete */
.address-autocomplete {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e5e5e5;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 300px; /* Increased from 200px */
    overflow-y: auto;
    /* Better scrolling on mobile */
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.address-suggestion {
    padding: 16px 20px; /* Increased padding for better touch targets */
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px; /* Slightly larger font */
    min-height: 44px; /* Minimum touch target size */
    display: flex;
    align-items: center;
    line-height: 1.4;
    color: #333;
    transition: background-color 0.2s ease;
    text-align: left;
}

.address-loading {
    padding: 12px 16px;
    color: #666;
    font-style: italic;
    text-align: center;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e5e5;
}

.address-loading::before {
    content: "⏳";
    margin-right: 8px;
}

.address-suggestion:hover {
    background-color: #f8f9fa;
}

.address-suggestion:last-child {
    border-bottom: none;
}

.address-suggestion.highlighted {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* Lucide Icons Styling */
.step-icon i,
.step-status i,
.valuation-offer-btn i {
    width: 20px;
    height: 20px;
    display: inline-block;
    vertical-align: middle;
}

.step-icon i {
    color: rgba(255, 255, 255, 0.8);
}

.step-status i {
    color: rgba(255, 255, 255, 0.6);
}

.loading-step.completed .step-status i {
    color: white;
}

.valuation-offer-btn i {
    margin-right: 8px;
    color: white;
}

/* Modal Icons */
.modal-header h3 i {
    margin-right: 8px;
    color: #202427;
}

.close-btn i {
    width: 20px;
    height: 20px;
    color: #666;
}

.offer-benefits li i {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: #4ade80;
    vertical-align: middle;
}

.price-estimation-section .no-sales {
    color: #333 !important;
    text-align: center;
    padding: 20px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-estimation-section .no-sales h4 {
    color: #333 !important;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.price-estimation-section .no-sales p {
    color: #333 !important;
    margin-bottom: 10px;
    line-height: 1.5;
}

.price-estimation-section .no-sales p strong {
    color: #333 !important;
}

.price-estimation-section .no-sales ul {
    color: #333 !important;
    max-width: 300px;
    margin: 15px auto;
    text-align: left;
}

.price-estimation-section .no-sales li {
    color: #333 !important;
    margin-bottom: 5px;
    font-size: 14px;
}

.funny-emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
}

/* Progress message styling */
.progress-message {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
    font-size: 16px;
    font-weight: 500;
}

.progress-message .loading-spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Recent Sales Section */
.recent-sales-section {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.sales-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.recent-sales-content {
    display: grid;
    gap: 15px;
}

.sales-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.sales-address {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.sales-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #666;
}

.sales-price {
    font-weight: 600;
    color: #27ae60;
    font-size: 14px;
}

.sales-date {
    color: #666;
    font-size: 12px;
}

.no-sales {
    text-align: center;
    color: #666;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.no-sales h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.no-sales p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.no-sales ul {
    max-width: 300px;
    margin: 15px auto;
    text-align: left;
}

.no-sales li {
    margin-bottom: 5px;
    font-size: 14px;
}

.no-data {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Price Loading Animation (inside price estimation) */
.price-loading {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.loading-content {
    max-width: 500px;
    margin: 0 auto;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #678D72;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-title {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    letter-spacing: -0.2px;
}

.price-loading .loading-title {
    font-size: 18px;
    margin-bottom: 20px;
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loading-step {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid white;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.price-loading .loading-step {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid white;
}

.loading-step.active {
    opacity: 1;
    border-color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.loading-step.completed {
    opacity: 1;
    border-color: white;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.step-icon {
    font-size: 20px;
    margin-right: 16px;
    min-width: 24px;
    color: white;
}

.step-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: white;
    text-align: left;
}

.price-loading .step-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.step-status {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
}

.loading-step.completed .step-status {
    color: white;
}

.loading-step.active .step-status {
    color: white;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading Animation */
.sales-loading {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 40px 20px;
    margin-bottom: 30px;
    text-align: center;
}

.loading-text {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.loading-indicator {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.loading-indicator .loading-spinner {
    margin: 0 auto 1rem auto;
}

/* Footer Info */
.footer-info {
    margin-top: 40px;
    padding: 40px 0 20px;
    border-top: 1px solid #e5e5e5;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Kun inde i .footer-info – undgå at site-footers .footer-content får grid (ødelægger layout) */
.footer-info .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #202427;
    margin-bottom: 12px;
    letter-spacing: -0.1px;
}

.footer-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.footer-bottom p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Mobile Social Media */
@media (max-width: 768px) {
    .social-links {
        gap: 30px;
    }
    
    .layer {
        width: 45px;
        height: 45px;
    }
    
    .instagramSVG,
    .facebookSVG {
        font-size: 20px;
    }
    
    .footer-info .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h4 {
        font-size: 16px;
    }
    
    .footer-section p {
        font-size: 13px;
    }
    
    /* Price Estimation Mobile */
    .price-estimation-section {
        padding: 20px 16px;
        margin-bottom: 20px;
        border-radius: 12px;
    }
    
    .price-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    .price-estimation-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .price-items-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .price-item {
        padding: 16px;
        min-height: auto;
    }
    
    .price-item-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .price-item-value {
        font-size: 22px;
        margin-bottom: 4px;
    }
    
    .price-item-detail {
        font-size: 11px;
        margin-bottom: 8px;
    }
    
    .detail-btn {
        font-size: 13px;
        padding: 8px 16px;
        margin-top: 8px;
    }
    
    .price-hint {
        font-size: 11px !important;
        margin-top: 6px !important;
    }
    
    .price-range-value {
        font-size: 28px;
    }
    
    /* Basis price calculation section mobile */
    .basis-price-calculation-section {
        margin-top: 16px !important;
    }
    
    .basis-price-toggle {
        padding: 14px 16px !important;
        font-size: 13px !important;
    }
    
    .basis-price-content {
        padding: 16px !important;
        margin-top: -8px !important;
    }
    
    /* Advanced breakdown mobile */
    .advanced-breakdown {
        gap: 16px !important;
    }
    
    .breakdown-section {
        padding: 16px !important;
        border-radius: 10px !important;
    }
    
    .breakdown-section h4 {
        font-size: 15px !important;
        margin-bottom: 12px !important;
    }
    
    .breakdown-section svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Price range container mobile */
    .price-range-container {
        padding: 20px 16px !important;
        margin-top: 16px !important;
        border-radius: 12px !important;
    }
    
    .price-range-header {
        margin-bottom: 20px !important;
    }
    
    .price-range-title {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }
    
    .price-range-subtitle {
        font-size: 12px !important;
    }
    
    /* CTA section mobile */
    .cta-button-container {
        margin-top: 24px !important;
    }
    
    .cta-button-container h3 {
        font-size: 18px !important;
        margin-bottom: 8px !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .cta-button-container h3 svg {
        width: 20px !important;
        height: 20px !important;
    }
    
    .cta-button-container > div > p {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
    
    .cta-button-container > div > div {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    
    .cta-button-container > div > div > div {
        padding: 12px !important;
    }
    
    .cta-button-container > div > div > div > div:first-child {
        font-size: 13px !important;
        margin-bottom: 3px !important;
    }
    
    .cta-button-container > div > div > div > div:last-child {
        font-size: 11px !important;
    }
    
    .cta-button-container > div > div > div > svg {
        width: 18px !important;
        height: 18px !important;
        margin-bottom: 6px !important;
    }
    
    #free-valuation-btn {
        padding: 16px 20px !important;
        font-size: 15px !important;
        gap: 8px !important;
    }
    
    #free-valuation-btn svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    /* Estimate info box mobile */
    .estimate-info-box {
        margin-top: 20px !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
    }
    
    .estimate-info-box svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .estimate-info-box > div > div > div:first-child {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }
    
    .estimate-info-box > div > div > div:last-child {
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    
    /* Sales section mobile */
    .price-estimation-section .recent-sales-section {
        padding: 16px !important;
        margin-top: 16px !important;
        border-radius: 10px !important;
    }
    
    .price-estimation-section .sales-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .price-estimation-section .sale-item {
        padding: 12px !important;
        margin-bottom: 10px !important;
    }
    
    .price-estimation-section .sale-address {
        font-size: 14px !important;
        margin-bottom: 6px !important;
    }
    
    .price-estimation-section .sale-details {
        font-size: 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    
    .price-estimation-section .sale-price {
        font-size: 16px !important;
    }
    
    .price-estimation-section .sale-date,
    .price-estimation-section .sale-kvm-price {
        font-size: 11px !important;
    }
    
    /* Step 5 Loading Mobile */
    .step5-loading {
        padding: 24px 16px;
    }
    
    .loading-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .loading-step {
        padding: 12px 16px;
    }
    
    .step-text {
        font-size: 14px;
    }
    
    .step-icon {
        font-size: 18px;
        margin-right: 12px;
    }
}

/* Property Info Section */
.property-info-section {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.info-item {
    flex: 1;
    min-width: 200px;
}

.info-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 18px;
    font-weight: 600;
    color: #202427;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .property-info-section {
        flex-direction: column;
        gap: 16px;
    }
    
    .info-item {
        min-width: auto;
    }
}

/* Price Range Container - Simplified without slider */
.price-range-container {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px;
    margin-top: 20px;
    backdrop-filter: blur(15px);
    width: 100%;
    clear: both;
    display: block;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.price-range-header {
    text-align: center;
    margin-bottom: 32px;
}

.price-range-title {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.price-range-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.price-range-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 8px;
}

.price-range-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.price-range-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.price-range-card-conservative {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-range-card-optimistic {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.price-range-card-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.price-range-card-price {
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.price-range-card-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

@media (max-width: 768px) {
    .price-range-container {
        padding: 24px 20px;
    }
    
    .price-range-title {
        font-size: 20px;
    }
    
    .price-range-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .price-range-card {
        padding: 16px;
    }
    
    .price-range-card-price {
        font-size: 24px;
    }
}

/* Enhanced Loading States */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.loading-subtext {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Progress bar loading state */
.progress-bar.loading {
    position: relative;
    overflow: hidden;
}

.progress-bar.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Inline Price Editor Styles */
.price-editable {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 20px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.price-editable:hover {
    background: rgba(103, 141, 114, 0.05);
    border: 1px solid rgba(103, 141, 114, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(103, 141, 114, 0.15);
}

.price-edit-btn {
    background: #678D72;
    border: 1px solid #5a7a5f;
    border-radius: 6px;
    padding: 6px 8px;
    margin-left: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 2px 4px rgba(103, 141, 114, 0.2);
    min-width: 36px;
    height: 28px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}

.price-edit-btn:hover {
    background: #5a7a5f;
    border-color: #4a6b4f;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(103, 141, 114, 0.3);
}

.price-edit-btn svg {
    width: 14px;
    height: 14px;
}

.price-hint {
    font-size: 13px;
    color: white;
    font-weight: 600;
    margin-top: 8px;
    text-align: center;
    opacity: 0.9;
    animation: pulse-hint 2s infinite;
    background: rgba(103, 141, 114, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid rgba(103, 141, 114, 0.2);
    width: 100%;
    box-sizing: border-box;
}

/* Better alignment for price item content */
.price-item-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.price-item-detail {
    margin-bottom: 8px;
}

.detail-btn {
    margin-top: 8px;
}

@keyframes pulse-hint {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Inline Price Editor - Structured Layout */
.inline-price-editor {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #678D72;
    border-radius: 16px;
    padding: 24px;
    margin-top: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
    max-width: 100%;
    box-sizing: border-box;
}

.editor-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(103, 141, 114, 0.2);
}

.editor-header h4 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

.editor-header p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
    line-height: 1.4;
}

.editor-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.current-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(103, 141, 114, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(103, 141, 114, 0.2);
}

.price-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.price-value {
    font-weight: 700;
    color: #678D72;
    font-size: 16px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-input-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 4px;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.2s ease;
    min-height: 48px;
}

.price-input-wrapper:focus-within {
    border-color: #678D72;
    box-shadow: 0 0 0 3px rgba(103, 141, 114, 0.1);
}

.price-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: transparent;
    padding: 12px 0;
    text-align: left;
}

.price-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.currency-suffix {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
    margin-left: 8px;
    flex-shrink: 0;
}

.price-input-group label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 4px;
}

.price-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 0 16px;
    transition: all 0.2s ease;
    min-height: 48px;
}

.price-input-wrapper:focus-within {
    border-color: #678D72;
    box-shadow: 0 0 0 3px rgba(103, 141, 114, 0.1);
}

.price-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    background: transparent;
    padding: 12px 0;
    text-align: left;
}

.price-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.currency-suffix {
    font-weight: 600;
    color: #6c757d;
    font-size: 14px;
    margin-left: 8px;
    flex-shrink: 0;
}

.countdown-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.countdown-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.countdown-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-svg {
    transform: rotate(-90deg);
}

.countdown-bg {
    fill: none;
    stroke: #e9ecef;
    stroke-width: 3;
}

.countdown-progress {
    fill: none;
    stroke: #678D72;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 94.2; /* 2 * PI * 15 */
    stroke-dashoffset: 94.2;
    transition: stroke-dashoffset 1s linear;
}

.countdown-text {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    color: #202427;
}

.countdown-label {
    font-size: 12px;
    color: #6c757d;
    text-align: center;
}

.editor-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(103, 141, 114, 0.1);
}

.editor-actions .btn {
    flex: 1;
    max-width: 160px;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.editor-actions .btn-primary {
    background: #678D72;
    color: white;
}

.editor-actions .btn-primary:hover:not(:disabled) {
    background: #5a7a5f;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(103, 141, 114, 0.3);
}

.editor-actions .btn-secondary {
    background: #f8f9fa;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.editor-actions .btn-secondary:hover:not(:disabled) {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.2);
}

.editor-actions .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.editor-actions .btn .loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

/* REDESIGNED PRICE EDITOR MODAL */
.price-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.price-modal-container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    animation: modalSlideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.price-modal-card {
    background: white;
    border-radius: 12px; /* tighter radius to match flow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    position: relative;
}

.price-modal-header {
    background: #f8f9fa; /* neutral like rest of app */
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.price-modal-header::after { content: none; }

.price-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.price-modal-icon {
    font-size: 24px;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.price-modal-title h3 {
    margin: 0;
    color: #2c3e50; /* ensure visible on neutral header */
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.price-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 12px;
    padding: 8px;
    cursor: pointer;
    color: white;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.price-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.price-modal-content {
    padding: 32px;
}

.price-modal-subtitle {
    margin: 0 0 32px 0;
    color: #6c757d;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.price-current {
    flex: 1;
    text-align: center;
}

.price-current-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.price-current-value {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.price-arrow {
    font-size: 24px;
    color: #678D72;
    font-weight: bold;
    animation: arrowPulse 1.5s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px; /* Lower the arrow to align with the center of the price boxes */
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

.price-new {
    flex: 1;
    text-align: center;
}

.price-new-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    font-weight: 500;
}

.price-new-input-wrapper {
    position: relative;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.price-new-input-wrapper:focus-within {
    border-color: #d0d5db;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.03);
    transform: none;
}

.price-new-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    background: transparent;
}

.price-new-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.price-new-suffix {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #6c757d;
    font-weight: 600;
}

.price-modal-actions {
    padding: 24px 32px 32px 32px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.price-btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-btn-cancel {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
}

.price-btn-cancel:hover {
    background: #f1f3f5;
    border-color: #dee2e6;
}

.price-btn-confirm {
    background: #678D72;
    color: white;
    border: 1px solid #5f8268;
    box-shadow: none;
}

.price-btn-confirm:hover {
    background: #5a7a5f;
}

.price-btn-confirm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.price-btn-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

/* Simplified Listings Breakdown */
.listings-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
}

.breakdown-listing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
    transition: all 0.2s ease;
}

.breakdown-listing-item:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.breakdown-address {
    flex: 1;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    margin-right: 12px;
    line-height: 1.3;
}

.breakdown-details {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.breakdown-price {
    font-size: 14px;
    font-weight: 600;
    color: #678D72;
    min-width: 80px;
    text-align: right;
}

.breakdown-area {
    font-size: 12px;
    color: #666;
    min-width: 50px;
    text-align: center;
}

.breakdown-kvm {
    font-size: 12px;
    color: #666;
    min-width: 70px;
    text-align: center;
}

.breakdown-status {
    display: none; /* Hide status */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .listings-breakdown {
        gap: 6px;
        padding: 6px;
    }
    
    .breakdown-listing-item {
        padding: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .breakdown-address {
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .breakdown-details {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    
    .breakdown-price {
        font-size: 13px;
        min-width: auto;
    }
    
    .breakdown-area,
    .breakdown-kvm {
        font-size: 11px;
        min-width: auto;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-modal-container {
        padding: 16px;
        max-width: 100%;
    }
    
    .price-modal-header {
        padding: 20px 24px;
    }
    
    .price-modal-title h3 {
        font-size: 18px;
    }
    
    .price-modal-content {
        padding: 24px;
    }
    
    .price-comparison {
        flex-direction: column;
        gap: 16px;
    }
    
    .price-arrow {
        transform: rotate(90deg);
        font-size: 20px;
    }
    
    .price-current-value,
    .price-new-input-wrapper {
        padding: 12px 16px;
    }
    
    .price-current-value {
        font-size: 20px;
    }
    
    .price-new-input {
        font-size: 20px;
    }
    
    .price-modal-actions {
        padding: 20px 24px 24px 24px;
        flex-direction: column;
    }
    
    .price-btn {
        width: 100%;
        padding: 16px 24px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .inline-price-editor {
        padding: 20px 16px;
        margin-top: 12px;
    }
    
    .editor-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .editor-header h4 {
        font-size: 16px;
    }
    
    .editor-content {
        gap: 16px;
    }
    
    .current-price-display {
        padding: 12px 16px;
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .price-input-wrapper {
        min-height: 44px;
        padding: 0 12px;
    }
    
    .price-input {
        font-size: 15px;
        padding: 10px 0;
    }
    
    .editor-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }
    
    .editor-actions .btn {
        width: 100%;
        max-width: none;
        min-height: 44px;
    }
}
/* Beliggenhed examples */
.location-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 10px 0 14px 0;
}

.location-tag {
    background: #f6f7f8;
    border: 1px solid #e6e8eb;
    border-radius: 10px;
    padding: 10px 12px;
}

.location-tag .tag-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.location-tag .tag-desc {
    color: #556070;
    font-size: 13px;
}

@media (max-width: 768px) {
    /* Don't force everything - only specific form elements */
    
    .container,
    .form-container {
        text-align: left !important;
    }
    
    /* Only left-align form-related elements, not navigation */
    .form-group,
    .form-label,
    .form-input,
    .input-hint,
    select,
    textarea {
        text-align: left !important;
    }
    
    .location-examples {
        grid-template-columns: 1fr;
        text-align: left !important;
    }
    
    .location-example {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    /* Optimize form inputs for mobile */
    .form-group {
        margin-bottom: 20px;
        text-align: left !important;
    }
    
    .form-label {
        font-size: 14px;
        margin-bottom: 8px;
        display: block;
        text-align: left !important;
    }
    
    .form-input {
        font-size: 16px !important; /* Prevent iOS zoom */
        padding: 14px 16px;
        margin-bottom: 0;
        width: 100%;
        box-sizing: border-box;
        text-align: left !important;
    }
    
    .input-hint {
        font-size: 12px;
        margin-top: 6px;
        display: block;
        text-align: left !important;
    }
    
    /* Better touch targets for mobile */
    .btn {
        min-height: 48px;
        padding: 14px 24px;
    }
    
    /* Optimize checkbox group for mobile */
    .checkbox-group {
        padding: 16px;
        margin-top: 24px;
        text-align: left !important;
    }
    
    .checkbox-label {
        font-size: 14px;
        line-height: 1.5;
        flex-wrap: nowrap;
        align-items: flex-start;
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .check {
        margin-right: 12px;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }
    
    .checkbox-label > span:last-child {
        flex: 1;
        text-align: left !important;
        display: block;
    }
    
    /* Center align special conditions text on mobile */
    .renovation-option {
        padding: 16px;
        margin-top: 16px;
        text-align: left !important;
        display: block !important;
    }
    
    .renovation-option * {
        text-align: left !important;
    }
    
    .renovation-option .checkbox-label {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        display: flex !important;
        flex-direction: row !important;
    }
    
    .renovation-option .checkbox-label span {
        text-align: left !important;
    }
    
    .renovation-option .checkbox-label .check {
        margin-right: 12px;
        flex-shrink: 0;
    }
    
    .renovation-option .input-hint {
        text-align: left !important;
    }
    
    /* Ensure radio buttons are left-aligned */
    .form-container .rating-group {
        text-align: left;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .form-container .rating-buttons {
        text-align: left;
        justify-content: flex-start;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .form-container .rating-btn {
        text-align: center;
        width: 42px;
        height: 42px;
        font-size: 15px;
        min-width: 42px;
        flex: 0 0 auto;
    }
    
    /* Properties in step 4 - ensure left alignment */
    .property-feature,
    .feature-item {
        text-align: left !important;
        justify-content: flex-start !important;
    }
    
    .feature-item label,
    .feature-item input[type="checkbox"],
    .feature-item span {
        text-align: left !important;
    }
    
    /* Special features checkboxes - step 4 */
    .form-step[data-step="4"] .form-group,
    .form-step[data-step="4"] .checkbox-group,
    .form-step[data-step="4"] .checkbox-label {
        text-align: left !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .form-step[data-step="4"] .checkbox-label * {
        text-align: left !important;
    }
    
    /* Form row wrapper - ensure left alignment */
    .form-row {
        text-align: left !important;
        display: block !important;
    }
    
    .form-row .form-group {
        text-align: left !important;
    }
    
    /* Fix for renovation checkbox in step 3 */
    .form-step[data-step="3"] .form-row,
    .form-step[data-step="3"] .form-row .form-group,
    .form-step[data-step="3"] .form-row .renovation-option {
        text-align: left !important;
    }
    
    /* Override checkbox-label flex centering on mobile */
    .checkbox-label {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    .checkbox-group .checkbox-label {
        justify-content: flex-start !important;
        align-items: flex-start !important;
    }
    
    /* Fix text alignment inside checkbox labels - wrap text in container */
    .checkbox-label .check + *,
    .checkbox-label::after {
        text-align: left !important;
        display: inline-block !important;
        margin-left: 0 !important;
    }
    
    /* Location rating section */
    .location-rating,
    .location-tag {
        text-align: left !important;
    }
    
    /* Energy label */
    .energy-selection {
        text-align: left !important;
    }
    
    .energy-buttons {
        justify-content: flex-start !important;
    }
}

@media (max-width: 480px) {
    /* Form inputs for small mobile */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .form-input {
        font-size: 16px;
        padding: 12px 14px;
    }
    
    .input-hint {
        font-size: 11px;
        margin-top: 4px;
    }
    
    /* Step 6 Result Page - Extra Small Mobile */
    .price-estimation-section {
        padding: 16px 12px !important;
    }
    
    .price-title {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    .price-item {
        padding: 12px !important;
    }
    
    .price-item-value {
        font-size: 20px !important;
    }
    
    .price-item-label {
        font-size: 11px !important;
    }
    
    .price-item-detail {
        font-size: 10px !important;
    }
    
    .price-range-container {
        padding: 16px 12px !important;
    }
    
    .price-range-title {
        font-size: 16px !important;
    }
    
    .price-range-subtitle {
        font-size: 11px !important;
    }
    
    .price-range-card {
        padding: 12px !important;
        min-height: auto !important;
    }
    
    .price-range-card-price {
        font-size: 20px !important;
    }
    
    .price-range-card-label {
        font-size: 12px !important;
    }
    
    .price-range-card-description {
        font-size: 10px !important;
    }
    
    .basis-price-toggle {
        padding: 12px 14px !important;
        font-size: 12px !important;
    }
    
    .basis-price-content {
        padding: 12px !important;
    }
    
    .cta-button-container {
        margin-top: 20px !important;
    }
    
    .cta-button-container h3 {
        font-size: 16px !important;
    }
    
    .cta-button-container > div > p {
        font-size: 12px !important;
    }
    
    #free-valuation-btn {
        padding: 14px 18px !important;
        font-size: 14px !important;
    }
    
    .estimate-info-box {
        padding: 12px 14px !important;
    }
    
    .estimate-info-box > div > div > div:first-child {
        font-size: 12px !important;
    }
    
    .estimate-info-box > div > div > div:last-child {
        font-size: 11px !important;
    }
    
    .price-estimation-section .recent-sales-section {
        padding: 12px !important;
    }
    
    .price-estimation-section .sales-title {
        font-size: 16px !important;
    }
    
    .price-estimation-section .sale-item {
        padding: 10px !important;
    }
    
    .price-estimation-section .sale-address {
        font-size: 13px !important;
    }
    
    .price-estimation-section .sale-price {
        font-size: 15px !important;
    }
    
    /* Checkbox group for small mobile */
    .checkbox-group {
        padding: 12px;
        margin-top: 16px;
    }
    
    .checkbox-label {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .check {
        margin-right: 10px;
        width: 22px;
        height: 22px;
    }
    
    .input-hint {
        font-size: 11px;
    }
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-top: 2px solid #678D72;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 99999;
    padding: 24px;
    animation: slideUpBanner 0.4s ease-out;
    display: none;
    pointer-events: auto;
}

@keyframes slideUpBanner {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 100000;
    pointer-events: auto;
}

.cookie-banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-title {
    font-size: 18px;
    font-weight: 700;
    color: #202427;
    margin: 0 0 8px 0;
    letter-spacing: -0.2px;
}

.cookie-banner-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.cookie-link {
    color: #678D72;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-link:hover {
    color: #5a7a63;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid;
    white-space: nowrap;
    pointer-events: auto;
    position: relative;
    z-index: 10001;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #678D72 0%, #5a7a63 100%);
    border-color: #678D72;
    color: #fff;
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 141, 114, 0.3);
}

.cookie-btn-necessary {
    background: #fff;
    border-color: #678D72;
    color: #678D72;
}

.cookie-btn-necessary:hover {
    background: #f8f9fa;
    border-color: #5a7a63;
}

.cookie-decline-link {
    color: #999;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    padding: 8px 12px;
    align-self: center;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.cookie-decline-link:hover {
    color: #666;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-banner-icon {
        text-align: center;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-decline-link {
        text-align: center;
        margin-top: 8px;
        padding: 6px 8px;
    }
}

/* Site Footer */
.site-footer {
    margin-top: 60px;
    padding: 30px 20px;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e5;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-text {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer {
        margin-top: 40px;
        padding: 20px 16px;
    }
    
    .footer-text {
        font-size: 12px;
    }
}
