/* Login appearance aligned with CAS, isolated from application styles. */
:root {
    --dms-brand: #09638a;
    --dms-brand2: #0d83ad;
}
* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    min-height: 100%;
}
button,
input {
    font: inherit;
}
.scheduler-login-exact {
    min-height: 100vh;
    margin: 0;
    display: grid;
    place-items: center;
    padding: 26px;
    background:
        radial-gradient(circle at 12% 20%, rgba(32, 176, 210, 0.27), transparent 31%),
        radial-gradient(circle at 88% 80%, rgba(4, 98, 143, 0.36), transparent 36%),
        linear-gradient(135deg, #041b2c, #07526e);
    font-family: Inter, 'Segoe UI', Arial, sans-serif;
    color: #18313f;
}
.login-shell {
    width: min(600px, 100%);
}
.login-reference-card {
    padding: 31px 40px 25px;
    border: 1px solid rgba(255, 255, 255, 0.58);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(16px);
}
.login-brand-row {
    display: grid;
    grid-template-columns: 112px 1fr 112px;
    align-items: center;
    gap: 18px;
}
.register-login-logo {
    display: grid;
    place-items: center;
    height: 112px;
}
.register-login-logo img {
    display: block;
    width: 106px;
    height: 106px;
    object-fit: contain;
}
.login-brand-text {
    text-align: center;
}
.login-brand-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #113c55;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: 0.03em;
}
.login-brand-divider {
    width: 1px;
    height: 31px;
    background: #b8cbd5;
}
.login-brand-rmm {
    color: #0878a3;
}
.login-brand-subtitle {
    margin-top: 5px;
    color: #6c8492;
    font-size: 12px;
}
.login-reference-separator {
    height: 1px;
    margin: 22px 0;
    background: linear-gradient(90deg, transparent, #cadbe3, transparent);
}
.login-reference-heading {
    text-align: center;
}
.login-reference-heading h1 {
    margin: 0 0 6px;
    font-size: 24px;
}
.login-reference-heading p {
    margin: 0;
    color: #6b818d;
    font-size: 13px;
}
.login-reference-form {
    display: grid;
    gap: 15px;
    margin-top: 23px;
}
.login-reference-form label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #385667;
}
.login-input-wrap {
    position: relative;
}
.login-input-wrap > span {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #7d99a7;
    font-size: 9px;
}
.login-input-wrap input {
    width: 100%;
    height: 46px;
    padding: 10px 45px 10px 35px;
    border: 1px solid #ccdde5;
    border-radius: 9px;
    background: #fbfdfe;
}
.login-input-wrap input:focus {
    outline: 0;
    border-color: #2585aa;
    box-shadow: 0 0 0 3px rgba(9, 99, 138, 0.11);
}
.password-toggle {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #678290;
    cursor: pointer;
}
.scheduler-signin {
    height: 46px;
    margin-top: 3px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    background: linear-gradient(135deg, var(--dms-brand), var(--dms-brand2));
    box-shadow: 0 7px 17px rgba(9, 99, 138, 0.24);
    font-weight: 750;
    cursor: pointer;
}
.scheduler-signin:hover {
    background: linear-gradient(135deg, #075474, #096d95);
}
.scheduler-signin:disabled {
    opacity: 0.72;
    cursor: wait;
}
.login-reference-foot {
    text-align: center;
    margin-top: 21px;
    color: #708692;
    font-size: 11px;
}
.security-notice {
    text-align: center;
    margin-top: 8px;
    color: #97a8b0;
    font-size: 10px;
}
.login-input-wrap > span {
    display: block;
    width: 18px;
    height: 18px;
    left: 13px !important;
    font-size: 0 !important;
    background-color: #658493;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}
.login-reference-form label:nth-of-type(1) .login-input-wrap > span {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5.2 0-9 2.6-9 6v2h18v-2c0-3.4-3.8-6-9-6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-5.2 0-9 2.6-9 6v2h18v-2c0-3.4-3.8-6-9-6z'/%3E%3C/svg%3E");
}
.login-reference-form label:nth-of-type(2) .login-input-wrap > span {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7a5 5 0 0 0-10 0v2H4v13h16V9h-3zm-8-2a3 3 0 0 1 6 0v2H9V7zm4 10.7V19h-2v-1.3a2 2 0 1 1 2 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7a5 5 0 0 0-10 0v2H4v13h16V9h-3zm-8-2a3 3 0 0 1 6 0v2H9V7zm4 10.7V19h-2v-1.3a2 2 0 1 1 2 0z'/%3E%3C/svg%3E");
}
.login-input-wrap input {
    padding-left: 42px;
}
.login-brand-main {
    gap: 10px;
    font-size: 29px;
    font-weight: 900;
    letter-spacing: 0.02em;
    line-height: 1;
}
.login-brand-cea,
.login-brand-rmm {
    display: inline-block;
    font: inherit;
    font-size: 1em;
    font-weight: 900;
    line-height: 1;
}
.login-brand-divider {
    display: inline-block;
    width: auto;
    height: auto;
    background: none;
    color: #8ca2ae;
    font: inherit;
    font-size: 1em;
    font-weight: 500;
    line-height: 1;
}
@media (max-width: 650px) {
    .login-brand-main {
        font-size: 22px;
    }
}
.scheduler-login-exact {
    font-family: Helvetica, Arial, sans-serif;
    color: #e7eef1;
    background: linear-gradient(145deg, #001d2a 0%, #002a3a 50%, #073747 100%);
}
.scheduler-login-exact .login-shell {
    width: min(620px, 100%);
}
.scheduler-login-exact .login-reference-card {
    width: min(620px, 100%);
    margin: 0 auto;
    padding: 30px 38px 32px;
    border-radius: 20px;
    background-color: rgba(24, 63, 82, 0.28);
    background-image: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.075) 0%,
        rgba(255, 255, 255, 0.022) 40%,
        rgba(21, 61, 79, 0.18) 100%
    );
    border: 1px solid rgba(160, 205, 220, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08),
        0 24px 60px rgba(0, 0, 0, 0.22);
    -webkit-backdrop-filter: blur(24px) saturate(145%) brightness(1.04);
    backdrop-filter: blur(24px) saturate(145%) brightness(1.04);
}
.scheduler-login-exact .login-brand-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    white-space: nowrap;
    font-family: Helvetica, Arial, sans-serif;
    letter-spacing: 0;
}
.scheduler-login-exact .login-brand-cea {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.01em;
}
.scheduler-login-exact .login-brand-rmm {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 27px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}
.scheduler-login-exact .login-brand-divider {
    display: block;
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.78);
    color: transparent;
    font-size: 0;
}
.scheduler-login-exact .login-brand-subtitle {
    margin-top: 7px;
    color: #e2edf1;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    white-space: nowrap;
}
.scheduler-login-exact .login-reference-separator {
    background: rgba(160, 205, 220, 0.2);
}
.scheduler-login-exact .login-reference-heading h1 {
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}
.scheduler-login-exact .login-reference-heading p {
    color: #b8c8ce;
}
.scheduler-login-exact .login-reference-form label {
    color: #e7eef1;
    font-weight: 500;
}
.scheduler-login-exact .login-input-wrap input {
    height: 52px;
    padding-left: 45px;
    border-radius: 9px;
    background: rgba(4, 42, 58, 0.68);
    border: 1px solid rgba(87, 135, 153, 0.55);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}
.scheduler-login-exact .login-input-wrap input::placeholder {
    color: #81969e;
}
.scheduler-login-exact .login-input-wrap input:focus {
    background: rgba(5, 47, 64, 0.78);
    border-color: #179ed9;
    box-shadow: 0 0 0 2px rgba(23, 158, 217, 0.16);
}
.scheduler-login-exact .login-input-wrap > span {
    background-color: #b9cad0;
}
.scheduler-login-exact .password-toggle {
    top: 8px;
    color: #b9cad0;
}
.scheduler-login-exact .scheduler-signin {
    height: 56px;
    margin-top: 20px;
    border: 1px solid rgba(82, 190, 235, 0.72);
    background-image:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.04) 42%,
            rgba(0, 0, 0, 0.08) 100%
        ),
        linear-gradient(135deg, #20a9e4 0%, #179ed9 55%, #1288bb 100%);
    font-size: 15px;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 2px 7px rgba(0, 0, 0, 0.14);
}
.scheduler-login-exact .login-reference-foot {
    color: #c4d3d8;
}
.scheduler-login-exact .security-notice {
    color: #9fb3bb;
}
@media (max-width: 640px) {
    .scheduler-login-exact .login-reference-card {
        padding: 26px 22px;
    }
    .scheduler-login-exact .login-brand-cea {
        font-size: 28px;
    }
    .scheduler-login-exact .login-brand-rmm {
        font-size: 22px;
    }
    .scheduler-login-exact .login-brand-divider {
        height: 27px;
    }
    .scheduler-login-exact .login-brand-subtitle {
        font-size: 12px;
    }
}

@media (max-width: 650px) {
    .login-reference-card {
        padding: 25px 20px;
    }
    .login-brand-row {
        grid-template-columns: 76px 1fr 76px;
        gap: 9px;
    }
    .register-login-logo {
        height: 82px;
    }
    .register-login-logo img {
        width: 78px;
        height: 78px;
    }
}
.error,
.notice {
    padding: 12px 14px;
    margin-top: 16px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.5;
}
.error {
    background: #461f29;
    color: #ffc5cc;
    border: 1px solid #7d3140;
}
.notice {
    background: #173845;
    color: #d5e9f0;
    border: 1px solid #365460;
}
.security-notice {
    line-height: 1.55;
}

.scheduler-signin { display: flex; align-items: center; justify-content: center; gap: 10px; }
.scheduler-signin .signin-arrow { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
