/* Login and Register page design: light blue page, glowing title, gradient pill button. */
body.page-auth {
    background-color: #bdebfd;
}

/* The content sits in a frame. The padding leaves the fields their full 425px:
   425 + 2 × 2rem padding + 2 × 2px border. */
.auth-page {
    max-width: calc(425px + 4rem + 4px);
    margin: 3rem auto 2rem;
    padding: 2rem;
    border: 2px solid #4fc3f7;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 4px 14px rgba(11, 79, 92, 0.15);
}

/* The title and the button are centred over the fields, which are 425px wide. */
.auth-title {
    max-width: 425px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #0b4f5c;
    text-shadow: 0 0 6px #3fe3f2, 0 0 14px #3fe3f2;
    margin-bottom: 2.5rem;
}

.auth-field {
    max-width: 425px;
    margin-bottom: 1.9rem;
}

.auth-field label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a237e;
    margin-bottom: 0.2rem;
}

.auth-field .required-mark {
    color: #e53935;
    font-size: 1.1rem;
    margin-inline-start: 0.6rem;
}

.auth-field input {
    width: 100%;
    height: 40px;
    padding: 0.4rem 0.75rem;
    border: 1px solid #d3d9df;
    border-radius: 7px;
    background: #fff;
    font-size: 1.05rem;
}

.auth-field input:focus {
    outline: none;
    border-color: #4fc3f7;
    box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.35);
}

.auth-field input::placeholder {
    color: #777;
}

.auth-field .text-danger {
    display: block;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: #1a237e;
}

.auth-remember input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: #ff8a00;
}

.auth-actions {
    max-width: 425px;
    text-align: center;
    margin-top: 2.5rem;
}

.auth-submit {
    min-width: 106px;
    padding: 0.45rem 1.6rem;
    border: none;
    border-radius: 14px;
    background: linear-gradient(to bottom, #ffea00 0%, #ff8a00 50%, #ff1500 100%);
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    font-size: 1.1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.auth-submit:hover {
    filter: brightness(1.05);
}

.auth-submit:active {
    transform: translateY(1px);
}
