.login {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.login__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.login__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.3); /* var(--navy) at 55% */
    z-index: 1;
}

.login__form {
    position: relative;
    z-index: 2;
    width: 320px;
    padding: 32px;
    background: var(--cream-2, #fff);
    border-radius: var(--radius, 8px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login__title {
    margin: 0 0 16px;
    font-size: 20px;
    text-align: center;
}

.login__label {
    font-size: 13px;
    color: #555;
    margin-top: 8px;
}

.login__form input[type="email"],
.login__form input[type="password"],
.login__form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    width: 100%;
}

.login__password-wrap {
    position: relative;
    display: flex;
}

.login__password-wrap input {
    padding-right: 36px;
}

.login__password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    line-height: 1;
}

.login__password-toggle:hover {
    color: #444;
}

.login__remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 8px;
}

.login__submit {
    margin-top: 16px;
    padding: 10px;
    background: var(--accent, #2563eb);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.login__submit:hover {
    background: var(--accent-dark, #1d4ed8);
}

.login__error {
    background: #fee2e2;
    color: #991b1b;
    padding: 8px;
    border-radius: 4px;
    font-size: 13px;
}
