/* ===== Base Page ===== */
body {
    font-family: 'Quicksand', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
}

.radiobutton-container {
    max-width: 70%;
    display: block;
    position: relative;
    padding-left: 20px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .radiobutton-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        width: 0px;
        height: 0px;
        line-height: 0px;
    }

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: white;
    border: 1px solid black;
    border-radius: 50%;
}

.radiobutton-container:hover input ~ .checkmark, .radiobutton-container:hover input ~ .checkmark2 {
    background-color: #F5F4F1;
    cursor: pointer;
}

.radiobutton-container input:checked ~ .checkmark, .radiobutton-container input:checked ~ .checkmark2 {
    background-color: white;
    cursor: pointer;
}

.checkmark:after, .checkmark2:after {
    content: "";
    position: absolute;
    display: none;
}

.radiobutton-container input:checked ~ .checkmark:after, .radiobutton-container input:checked ~ .checkmark2:after {
    display: block;
}

.radiobutton-container .checkmark:after {
    top: 2px;
    left: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: black;
}

.checkmark2 {
    position: absolute;
    top: 0;
    left: 0;
    height: 15px;
    width: 15px;
    background-color: white;
    border: 1px solid black;
    border-radius: 2%;
}

.radiobutton-container .checkmark2::after {
    content: "";
    position: absolute;
    display: none;
    top: 2px;
    left: 2px;
    width: 9px;
    height: 9px;
    background-image: url("/check-2x.png");
    background-repeat: no-repeat;
    background-size: contain;
}
/* ===== Form Wrapper (controls the 70% width) ===== */
.form-wrapper {
    width: 70%;
    max-width: 900px;
    margin: 2rem auto;
}

/* ===== Main Form ===== */
.owner-change-form {
    width: 100%;
    padding: 1rem 1.5rem;
}

    /* ===== Headings ===== */
    .owner-change-form h2 {
        margin: 2rem 0 1rem;
        font-size: 1.6rem;
        font-weight: 500;
        color: #0f2748;
    }

        .owner-change-form h2:first-child {
            margin-top: 0;
        }

    /* ===== Divider ===== */
    .owner-change-form hr {
        margin: 1.5rem 0;
        border: none;
        border-top: 1px solid #e7e7e7;
    }

/* ===== Field Group ===== */
.field-group {
    margin-bottom: 1.2rem;
}

    /* ===== Labels ===== */
    .field-group label,
    .date-label {
        display: block;
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
        font-weight: 500;
        color: #1a2f4d;
    }

.required-star {
    color: #ff6f85;
}

/* ===== Inputs ===== */
.field-group input:not([type="radio"]),
.field-group select,
.field-group textarea {
    width: 100%;
    height: 2.4rem;
    border: 1px solid #4c5768;
    border-radius: 4px;
    padding: 0.3rem 0.5rem;
    font-size: 0.9rem;
    color: #202632;
    background-color: #fff;
    box-sizing: border-box;
}

/* ===== Validation ===== */
.field-group .validation-message {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #e50000;
}

/* ===== Grid Layouts ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.three-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

/* ===== Button ===== */
.submit-button {
    margin-top: 1.2rem;
    padding: 0.5rem 1.2rem;
    background: #e6eef9;
    color: #193d6e;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid #c3d6f2;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15)
}

    .submit-button:hover {
        background: #d7e7fd;
    }

    .submit-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

/* ===== Status Messages ===== */
.status-message {
    margin-top: 0.8rem;
    font-weight: 600;
    font-size: 0.85rem;
}

    .status-message.success {
        color: #1f7a1f;
    }

    .status-message.error {
        color: #a21919;
    }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .form-wrapper {
        width: 90%;
    }
    
    .three-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 530px) {
    .two-col,
    .three-col {
        grid-template-columns: 1fr;
    }
}
