/* Shared layout for unauthenticated card pages (PasswordChangeRequest, ForgotPassword).
   Keep new auth pages on this stylesheet so visual tweaks land in one place. */

body.pwd-body {
    background: #F1EFE8;
    margin: 0;
}

.pwd-page {
    min-height: 100vh;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.pwd-logo {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 220px;
    height: 64px;
}

.pwd-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 2rem 2rem 1.75rem;
    width: 100%;
    max-width: 380px;
    box-sizing: border-box;
    box-shadow: 0 0 14px rgba(0, 0, 0, 0.1);
}

.pwd-header {
    margin-bottom: 1.5rem;
}

.pwd-title {
    font-size: 22px;
    font-weight: 700;
    color: #042C53;
    margin: 0 0 6px;
    letter-spacing: 0.3px;
}

.pwd-subtitle {
    font-size: 13px;
    color: #5F5E5A;
    margin: 0 0 8px;
    line-height: 1.5;
}

.pwd-field {
    margin-bottom: 1.25rem;
}

.pwd-field-last {
    margin-bottom: 1.5rem;
}

.pwd-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2C2C2A;
    margin-bottom: 6px;
}

.pwd-input {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #D3D1C7;
    border-radius: 6px;
    box-sizing: border-box;
    background: #FFFFFF;
    color: #2C2C2A;
}

.pwd-input:focus {
    outline: none;
    border-color: #378ADD;
    box-shadow: 0 0 0 3px rgba(55, 138, 221, 0.15);
}

.pwd-input.is-invalid {
    border-color: #d92800;
    box-shadow: 0 0 0 3px rgba(217, 40, 0, 0.10);
}

.pwd-hint {
    font-size: 12px;
    color: #888780;
    margin: 6px 0 0;
    line-height: 1.5;
}

.pwd-button {
    width: 100%;
    height: 40px;
    background: #378ADD;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.pwd-button:hover {
    background: #2D78C7;
}

.pwd-error {
    color: #d92800;
    font-size: 13px;
    text-align: center;
    margin: 0 0 14px;
}

.pwd-inline-error {
    color: #d92800;
    font-size: 12px;
    margin: 6px 0 0;
    line-height: 1.5;
}

.pwd-recaptcha {
    margin: 0 0 1.25rem;
    display: flex;
    justify-content: center;
}
