/* Formulario Cloned CSS - Property Buyers */

:root {
    --primary-navy: #0a1622;
    --gold-accent: #7F6F2D;
    /* Updated to match index.html */
    --gold-hover: #D3BA4B;
    /* Updated to match index.html */
    --bg-light: #f3f4f7;
    --text-white: #ffffff;
    --text-dark: #0F3D57;
    /* Updated to match index.html main headline color */
    --input-bg: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    Border-style: solid;
    border-width: 0 0 10px 0;
    border-color: #0F3D57;
    border-radius: 0;
}

.form-wrapper {
    width: 100%;
    max-width: 1140px;
    padding: 40px 20px;
    box-sizing: border-box;
}

.form-title {
    text-align: center;
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.form-container {
    background-color: #081F2C;
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    color: var(--text-white);
    border-style: solid;
    border-width: 0px 0px 10px 0px;
    border-color: #1E78AC;
    border-radius: 40px 40px 40px 40px;
    max-width: 800px;
    margin: auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 500;
}

.form-input,
.form-select {
    width: 100%;
    height: 48px;
    border-radius: 25px;
    border: 1px solid transparent;
    padding: 0 20px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    background-color: var(--input-bg);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--gold-accent);
    box-shadow: 0 0 8px rgba(127, 111, 45, 0.3);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
}

.radio-option input[type="radio"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.radio-option input[type="radio"]:checked {
    background-color: var(--gold-accent);
    border-color: var(--gold-accent);
}

.radio-option input[type="radio"]:checked::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 50%;
}

.btn-submit {
    width: 100%;
    height: 60px;
    background: linear-gradient(-45deg, #7F6F2D, #FEDF5A, #7F6F2D, #A9943C);
    background-size: 800% 400%;
    color: var(--text-white);
    border: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: gradient 6s infinite cubic-bezier(.62, .28, .23, .99) both;
    margin-top: 20px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 5em 0.0001em #A9943C,
        0 0 2em 0.2em #A9943C,
        inset 0 0 .5em .5em #A9943C;
}

.btn-submit:active {
    transform: translateY(-2px);
}

/* Validation Styles */
.form-input.invalid,
.form-select.invalid {
    border: 2px solid #ff4d4d;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
}

/* Responsive */
@media (max-width: 600px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.8rem;
    }
}