/* boom-adoptant login.css */

/* ---------------------------------------------------------------
   Layout wrapper
--------------------------------------------------------------- */
.ba-login-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 820px;
    margin: 2rem auto;
    align-items: start;
}

@media (max-width: 640px) {
    .ba-login-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 1rem;
    }
}

/* ---------------------------------------------------------------
   Intro / linkerkant
--------------------------------------------------------------- */
.ba-login-intro {
    background: linear-gradient(160deg, #f0f4ec 0%, #f5f7f2 100%);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    border: 1px solid #c5d4be;
}

.ba-login-logo {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.ba-login-intro h2 {
    font-size: 1.5rem;
    color: #2d3e29;
    margin: 0 0 .75rem;
}

.ba-login-intro p {
    color: #4a6741;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.ba-login-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ba-login-bullets li {
    padding: .35rem 0;
    color: #4a6741;
    font-size: .95rem;
}

/* ---------------------------------------------------------------
   Formulier / rechterkant
--------------------------------------------------------------- */
.ba-login-form-wrap {
    padding: .5rem 0;
}

.ba-login-notice {
    padding: .75rem 1rem;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    font-size: .9rem;
}

.ba-login-notice.error {
    background: #fdecea;
    color: #b71c1c;
    border-left: 3px solid #e53935;
}

.ba-login-notice.success {
    background: #f0f4ec;
    color: #2d3e29;
    border-left: 3px solid #7a9e6e;
}

/* ---------------------------------------------------------------
   Velden
--------------------------------------------------------------- */
.ba-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.ba-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.ba-field label {
    font-size: .875rem;
    font-weight: 600;
    color: #333;
}

.ba-field input[type="email"],
.ba-field input[type="password"],
.ba-field input[type="text"] {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid #c5d4be;
    border-radius: 7px;
    font-size: 1rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    color: #222;
}

.ba-field input:focus {
    outline: none;
    border-color: #7a9e6e;
    box-shadow: 0 0 0 3px rgba(67,160,71,.15);
}

/* Wachtwoord met oog-knop */
.ba-pw-wrap {
    position: relative;
}

.ba-pw-wrap input {
    padding-right: 2.8rem;
}

.ba-pw-toggle {
    position: absolute;
    right: .6rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: .2rem;
    opacity: .5;
    transition: opacity .15s;
}

.ba-pw-toggle:hover {
    opacity: 1;
}

/* Onthoud mij + wachtwoord vergeten inline */
.ba-field-inline {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.ba-checkbox-label {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .875rem;
    font-weight: 400 !important;
    color: #555;
    cursor: pointer;
}

.ba-checkbox-label input[type="checkbox"] {
    accent-color: #7a9e6e;
    width: 15px;
    height: 15px;
}

.ba-pw-vergeten {
    font-size: .8rem;
    color: #4a6741;
    text-decoration: none;
}

.ba-pw-vergeten:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------------
   Login knop
--------------------------------------------------------------- */
.ba-login-btn {
    width: 100%;
    padding: .85rem 1rem;
    background: #4a6741;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .1s;
    letter-spacing: .02em;
}

.ba-login-btn:hover {
    background: #2d3e29;
}

.ba-login-btn:active {
    transform: scale(.98);
}

/* ---------------------------------------------------------------
   Wachtwoord vergeten pagina
--------------------------------------------------------------- */
.ba-terug {
    text-align: center;
    margin-top: .5rem;
}

.ba-terug a {
    font-size: .875rem;
    color: #4a6741;
    text-decoration: none;
}

.ba-terug a:hover {
    text-decoration: underline;
}
