/* ================================================================
   Account card - the single-card screens around sign-in
   ----------------------------------------------------------------
   Forgot password, the two "done" screens (password reset, account
   registered) and the password-expiry warning. They share the look of
   Views/Account/ChangePassword.cshtml (which keeps its own inline copy)
   so the sign-in journey reads as one set of screens. Pages that use it
   render with Layout = null.
   ================================================================ */

body.auth-page {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1511497584788-876760111969?w=1920') center/cover fixed;
    background-color: #0f2a44;
    min-height: 100vh;
}

.cp-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 15px;
}

.cp-card {
    width: 100%;
    max-width: 470px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(8, 28, 60, 0.28), 0 2px 8px rgba(8, 28, 60, 0.10);
    overflow: hidden;
}

.cp-head {
    background: linear-gradient(150deg, #10456f 0%, #1d6094 55%, #2c7ba6 100%);
    padding: 22px 26px;
    text-align: center;
    color: #fff;
}

.cp-head img { height: 46px; width: auto; margin-bottom: 12px; }
.cp-head h1 { font-size: 19px; font-weight: 800; margin: 0; letter-spacing: -0.2px; }
.cp-head p { font-size: 12.5px; color: rgba(255, 255, 255, 0.86); margin: 6px 0 0; line-height: 1.5; }

.cp-body { padding: 22px 26px 26px; }

/* The status disc on the "done" and warning screens. */
.cp-status {
    width: 58px;
    height: 58px;
    margin: 2px auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: #15803d;
    box-shadow: 0 0 0 7px rgba(21, 128, 61, .12);
}

.cp-status.is-warn { background: #d97706; box-shadow: 0 0 0 7px rgba(217, 119, 6, .14); }

.cp-lead {
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #22364e;
    margin: 0 0 16px;
}

.cp-lead b { color: #0f2a44; }

.cp-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    background: #eef4fb;
    border: 1px solid #d9e6f4;
    border-left: 3px solid #1c5eaa;
    border-radius: 9px;
    padding: 11px 13px;
    margin-bottom: 16px;
    font-size: 12.5px;
    color: #22364e;
    line-height: 1.5;
}

.cp-note i { color: #1c5eaa; margin-top: 2px; }

.form-group { margin-bottom: 13px; }

.form-group label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #3b4a5a;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
}

.fld-wrap { position: relative; }

.fld-wrap > .fld-ico {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa9b8;
    font-size: 13px;
    pointer-events: none;
    z-index: 2;
    transition: color .2s ease;
}

.fld-wrap:focus-within > .fld-ico { color: #1c5eaa; }

.cp-card .form-control {
    border-radius: 10px;
    height: 42px;
    border: 1px solid #d7dfe7;
    padding: 0 14px 0 36px;
    font-size: 14px;
    width: 100%;
    background: #fbfcfd;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.cp-card .form-control:focus {
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
    outline: none;
    background: #fff;
}

.cp-card .btn-primary,
.cp-card .btn-light {
    display: block;
    width: 100%;
    height: 44px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter .2s ease;
}

.cp-card .btn-primary {
    background: linear-gradient(135deg, #1c5eaa 0%, #0e73a0 100%);
    border: none;
    color: #fff;
}

.cp-card .btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 68, 123, 0.22);
    color: #fff;
}

.cp-card .btn-light {
    margin-top: 10px;
    background: #fff;
    border: 1px solid #d7dfe7;
    color: #22364e;
}

.cp-card .btn-light:hover { background: #f3f7fb; color: #1c5eaa; }

.cp-foot { text-align: center; margin-top: 16px; padding-top: 15px; border-top: 1px solid #e6edf7; }
.cp-foot a { color: #0f5e5e; text-decoration: none; font-size: 12.5px; font-weight: 600; }
.cp-foot a:hover { color: #0e8f6b; text-decoration: none; }
.cp-foot a i { margin-right: 6px; }

.cp-card .alert-danger {
    background: #fdeced;
    border: 1px solid #f5c2c7;
    border-radius: 9px;
    padding: 10px 12px;
    color: #b02a37;
    font-size: 13px;
    margin-bottom: 14px;
}

.cp-card .alert-danger ul { margin: 0; padding-left: 18px; }
.cp-card .field-validation-error { color: #b02a37; font-size: 12px; display: block; margin-top: 4px; }

@media (max-width: 576px) {
    .cp-head { padding: 18px 20px; }
    .cp-body { padding: 18px 18px 22px; }
}
