@font-face {
  font-family: 'Spoof Trial';
  src: url('../fonts/SpoofTrial-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Spoof Trial';
  src: url('../fonts/SpoofTrial-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

:root {
    --color-background: #0D202A;
    --color-container-bg: #112B38;
    --color-primary-accent: #3ED9CC;
    --color-text-light: #FFF;
    --color-text-dark: #112B38;
    --color-grey-border: #CCC;
    --font-family-main: "Spoof Trial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-weight-bold: 700;
}
body {
    background-color: var(--color-background);
    font-family: var(--font-family-main);
    color: var(--color-text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}
body.popup-active {
    overflow: hidden;
}
.main-container {
    display: flex;
    padding: 60px;
    justify-content: center;
    align-items: center;
    gap: 60px;
    border-radius: 20px;
    border: 1px solid var(--color-grey-border);
    background: var(--color-container-bg);
    max-width: 1410px;
    height: 435px;
    width: 100%;
    box-sizing: border-box;
}
.text-content {
    flex-basis: 40%;
}
.text-content h1 {
    color: var(--color-text-light);
    font-family: var(--font-family-main);
    font-size: 50px;
    font-style: normal;
    font-weight: var(--font-weight-bold);
    line-height: 60px;
    letter-spacing: -1.75px;
    margin: 0 0 20px 0;
}
.text-content p {
    color: var(--color-text-light);
    font-family: var(--font-family-main);
    font-size: 25px;
    font-style: normal;
    font-weight: var(--font-weight-bold);
    line-height: 35px;
    letter-spacing: -0.875px;
    margin: 0;
}
.form-container {
    flex-basis: 60%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.form-row {
    display: flex;
    gap: 30px;
    width: 100%;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}
.input-group label {
    font-size: 16px;
    font-weight: 500;
}
.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.input-with-icon img {
    position: absolute;
    left: 16px;
    height: 24px;
    width: 24px;
}
.input-with-icon input {
    padding: 14px 16px 14px 50px;
    border-radius: 5px;
    border: 1px solid var(--color-grey-border);
    background: var(--color-text-light);
    font-size: 16px;
    color: var(--color-text-dark);
    width: 100%;
    box-sizing: border-box;
}
.bedrooms-group {
    flex-grow: 0;
    flex-basis: 220px;
}
.bedroom-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    border: 1px solid var(--color-grey-border);
    background: var(--color-text-light);
    overflow: hidden;
    padding: 0 0 0 12px;
}
.bedroom-counter img {
    height: 24px;
    width: 24px;
}
.stepper-controls {
    display: flex;
    align-items: center;
}
.bedroom-counter .stepper-btn {
    background: none;
    border: none;
    color: var(--color-text-dark);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 16px;
}
#bedrooms-display {
    width: 40px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: none;
    background: transparent;
    color: var(--color-text-dark);
    padding: 10px 0;
}
.features-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}
.feature-boxes {
    display: flex;
    gap: 20px;
    align-self: stretch;
}
.feature-box {
    display: flex;
    padding: 10px 16px;
    align-items: center;
    gap: 12px;
    flex: 1 0 0;
    border-radius: 5px;
    border: 1px solid var(--color-grey-border);
    background: var(--color-text-light);
    color: var(--color-text-dark);
    cursor: pointer;
}
.feature-box img {
    width: 24px;
    height: 24px;
}
.feature-box label {
    font-family: var(--font-family-main);
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    line-height: 33px;
    flex-grow: 1;
    cursor: pointer;
}
.feature-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary-accent);
}
.submit-btn {
    display: flex;
    height: 60px;
    padding: 15px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
    border-radius: 12px;
    background: var(--color-primary-accent);
    border: none;
    color: var(--color-text-dark);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}
.submit-btn:hover {
    background-color: #33b8ad;
}
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(17, 43, 56, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    box-sizing: border-box;
}
.popup-content {
    position: relative;
    display: flex;
    width: 640px;
    max-width: 100%;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    border-radius: 12px;
    background: #FFF;
    color: var(--color-text-dark);
    max-height: 90vh;
    overflow-y: auto;
}
.popup-spinner {
    width: 50px;
    height: 50px;
    animation: spin 1.5s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.popup-content h1 {
    font-size: 32px;
    margin: 0;
}
.popup-content p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}
.popup-content .input-group {
    width: 100%;
}
.popup-content input[type="email"] {
    font-family: "Spoof Trial";
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
    margin-top: 20px;
}
.consent-group label {
    font-size: 12px;
    color: #555;
}
.consent-group input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 4px;
}
.popup-content .submit-btn {
    align-self: stretch;
    flex-grow: 0;
}
.popup-success-icon {
    width: 50px;
    height: 50px;
}
.tip-container {
    display: flex;
    align-items: center;
    align-self: stretch;
    border-radius: 12px;
    background: #F0F0F0;
    padding: 30px 30px 30px 0;
    margin-top: 30px;
}
.tip-image-wrapper {
    flex-shrink: 0;
}
.tip-image-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}
.tip-text-content {
    flex-basis: 55%;
    text-align: left;
}
.tip-text-content h2 {
    color: #1E1E1E;
    font-family: "Spoof Trial";
    font-size: 32px;
    font-style: normal;
    font-weight: var(--font-weight-bold);
    line-height: 32px;
    letter-spacing: -1.75px;
    margin: 0 0 15px 0;
}
.tip-text-content p {
    color: #1E1E1E;
    font-family: "Spoof Trial";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.875px;
    margin-bottom: 15px;
}
.tip-text-content ul {
    text-align: left;
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 15px;
}
.tip-text-content li {
    color: #1E1E1E;
    font-family: "Spoof Trial";
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 8px;
}
.tip-text-content p strong {
    font-weight: var(--font-weight-bold);
}
.tip-button {
    display: inline-block;
    height: 60px;
    padding: 15px 50px;
    line-height: 30px;
    border-radius: 12px;
    background: #112B38;
    color: #3ED9CC;
    font-family: "Spoof Trial";
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    width: 329px;
}
.close-btn {
    display: flex;
    height: 60px;
    padding: 15px 50px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    align-self: stretch;
    border-radius: 12px;
    border: 2px solid #112B38;
    background: white;
    color: #112B38;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}
.error {
    color: #FF5A5F;
    margin-top: 10px;
    font-size: 14px;
    display: none;
    text-align: center;
    width: 100%;
}

.popup-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.popup-close-btn img {
    width: 100%;
    height: 100%;
}

#getDetailsBtn {
    margin-top: 30px;
}

.arrow-icon {
    height: 1em;
    width: auto;
}
@media (max-width: 900px) {
    body {
        align-items: flex-start;
    }
    .main-container {
        flex-direction: column;
        height: auto;
        padding: 30px;
        gap: 40px;
    }
    .text-content, .form-container {
        max-width: 100%;
        width: 100%;
    }
    .text-content h1 {
        font-size: 40px;
        line-height: 48px;
    }
    .text-content p {
        font-size: 20px;
        line-height: 28px;
    }
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    .bedrooms-group {
        flex-basis: auto;
    }
    .input-with-icon, .bedroom-counter, .feature-box {
        width: 100%;
        box-sizing: border-box;
    }
    .feature-boxes {
        flex-direction: column;
        gap: 15px;
    }
    .tip-container {
        flex-direction: column;
        padding: 20px;
        text-align: center;
    }
    .tip-text-content {
        text-align: center;
        flex-basis: auto;
    }
    .tip-image-wrapper {
        order: -1;
        margin-bottom: 20px;
        flex-basis: auto;
    }
}