/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
}

/* Body Styling */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

/* Header */
.header {
    background: #007bff;
    color: #fff;
    text-align: center;
    padding: 0.4rem;

}

.header h1 {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1.5rem;
    /* color: #333; */
}

/* Centered Message */
.centered-message {
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    color: #070363;
    margin: 0.3rem 0;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    max-width: 500px;
    margin: 0.3rem auto;
    background-color: #f1f1f1;
    border-radius: 5px;
    overflow: hidden;
    height: 8px;
    display: none;
}

.progress-bar #progress-bar-fill {
    width: 0;
    height: 100%;
    background-color: #007bff;
    transition: width 0.3s ease-in-out;
}

/* Main Container for Left and Right Panels */
.main-container {
    display: flex;
    max-width: 950px;
    margin: 1rem auto;
    padding: 0 0.5rem;
    flex: 1;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Left Panel Styling */
.left-panel {
    flex: 1;
    background-color: #fff;
    padding: 0rem;
    border-radius: 1px;
    /* padding: 1rem;
    border-radius: 8px; */
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    min-width: 100%;
}

/* Ensure search box matches left panel width */
.search-bar input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 0.9rem;
}

/* Styling for clickable suggestion list */
#suggestions {
    list-style-type: none;
    padding: 0;
    margin: 0.5rem 0 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.suggestion-item {
    padding: 0.5rem;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #007bff;
    color: white;
}

/* Hide Selected Address Section */
#selectedAddress {
    display: none; /* Hide to save space */
}

/* Right Panel */
.right-panel {
    flex: 1;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-width: 100%;
}

.right-panel h2 {
    font-weight: 600;
    color: #007bff;
    margin-bottom: 0.6rem;
}

/* Form Group Styling */
.form-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.form-group label {
    flex: 1;
    margin-right: 0.5rem;
    font-weight: bold;
    font-size: 0.85rem;
}

.form-group input,
.form-group select {
    flex: 2;
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.85rem;
}

/* Button Styling */
#revealButton {
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 0.6rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#revealButton:hover {
    background-color: #0056b3;
}

/* Property Details Container */
.property-details-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: flex-start;
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.property-details-left {
    flex: 2;
    min-width: 0;
}

.property-details-left h2 {
    font-size: 1rem;
    font-weight: bold;
    white-space: nowrap;
    margin-bottom: 0.5rem;
    color: #007bff;
}

.property-details-left p {
    margin-bottom: 0.4rem;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.2;
}

.property-details-left strong {
    font-weight: bold;
    margin-right: 5px;
}

/* Property Image */
.property-details-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.property-details-right img {
    width: 100%;
    height: auto;
    max-width: 250px;
    border-radius: 8px;
}

/* Footer */
.footer {
    background-color: #007bff;
    color: #fff;
    text-align: center;
    padding: 0.6rem;
    margin-top: auto;
}

/* Blur effect for the estimated value */
.blurred {
    filter: blur(5px); /* Blurs the text */
    transition: filter 0.3s ease; /* Smooth transition */
}

.form-message {
    margin-top: 0px;
    font-size: .5 rem;
    color: green;
    text-align: center;
    border: none;
}

/* Styling for the Estimated Value input field */
.estimatedValue {
    display: inline-block;
    width: auto; /* Adjust the width as per requirement */
    padding: 0rem;
    border: 0px solid #ddd;
    border-radius: 5px;
    font-size: 0.85rem;
    text-align: left;
    margin-left: 0.5rem; /* Space between label and input */
}

.property-details-left p {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between label and input */
}
