/* EuroCC: agent sign-in (scp/login.php, password reset) in the hpc.kren-ks.eu style */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body.eu-scp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 100vh;
    height: auto;
    padding: 32px 16px 24px;
    background: #071b3a url("scp-login-bg.svg") center / cover no-repeat fixed;
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    color: #0f1b2d;
}
.eu-scp #brickwall, .eu-scp #blur, .eu-scp #background, .eu-scp #poweredBy { display: none; }
.eu-scp, .eu-scp input, .eu-scp button { font-family: inherit; }

.eu-scp #loginBox {
    position: relative;
    left: auto;
    top: auto;
    margin: auto 0 0;
    width: 100%;
    max-width: 400px;
    padding: 34px 32px 24px;
    background: #fff !important;
    border: 1px solid rgba(127, 220, 255, .25);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(2, 10, 30, .55), 0 2px 8px rgba(2, 10, 30, .3);
    overflow: hidden;
    text-align: center;
}
.eu-scp #loginBox:after { display: none; }
.eu-scp #loginBox::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #0057b8, #00aeef 60%, #21c7a8);
}
.eu-scp #logo a {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    height: auto;
    text-decoration: none;
}
.eu-scp #logo a img { width: 52px; height: auto; max-height: none; }
.eu-scp .eu-scp-brand {
    display: flex;
    flex-direction: column;
    text-align: left;
    color: #071b3a;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
}
.eu-scp .eu-scp-brand small { margin-top: 3px; color: #0057b8; font-size: 13px; font-weight: 600; letter-spacing: .02em; }

.eu-scp h3#login-message { margin: 18px 0 0; color: #b42318; font-size: 13.5px; font-weight: 600; }
.eu-scp h3#login-message:empty { margin: 0; }
.eu-scp div.banner { color: #5a6678; font-size: 14px; }
.eu-scp div.banner:not(:empty) { margin: 10px 0 0; }

.eu-scp form#login { width: 100%; margin: 22px 0 0; }
.eu-scp fieldset { margin: 0; }
.eu-scp fieldset input {
    height: 48px;
    margin: 0 0 12px;
    padding: 0 16px;
    background: #fff;
    border: 1.5px solid #e2e9f2;
    border-radius: 14px;
    color: #0f1b2d;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
}
.eu-scp ::placeholder { color: #94a0b3; font-style: normal; }
.eu-scp input:focus { outline: none; border-color: #0057b8; box-shadow: 0 0 0 4px rgba(0, 87, 184, .14); }
.eu-scp fieldset h3 { display: block !important; margin: 0 0 12px; text-align: right; font-size: 13px; }
.eu-scp fieldset h3 a { color: #0057b8; font-weight: 600; text-decoration: none; }
.eu-scp fieldset h3 a.hidden { display: none; }
.eu-scp button.submit,
.eu-scp button[type=submit] {
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 50px;
    margin: 0;
    background: #0057b8;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 87, 184, .28);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background .15s, transform .15s, box-shadow .15s;
}
.eu-scp button[type=submit]:hover,
.eu-scp button[type=submit]:focus-visible { background: #00479a; color: #fff; box-shadow: 0 14px 28px rgba(0, 87, 184, .34); transform: translateY(-1px); }
.eu-scp button[type=submit] i { margin: 0; }

.eu-scp .or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: #94a0b3; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.eu-scp .or::before, .eu-scp .or::after { content: ""; flex: 1; height: 1px; background: #e2e9f2; }
.eu-scp .external-auth { display: block; width: 100%; margin: 0; }
.eu-scp .external-auth + .external-auth { margin-top: 10px; }
.eu-scp a.external-sign-in { display: block; text-decoration: none; }
.eu-scp .external-auth-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    height: 50px;
    padding: 0 18px;
    background: #fff;
    border: 1.5px solid #e2e9f2;
    border-radius: 14px;
    color: #0f1b2d;
    font-size: 15px;
    font-weight: 600;
    transition: border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.eu-scp a.external-sign-in:hover .external-auth-box,
.eu-scp a.external-sign-in:focus-visible .external-auth-box { border-color: #0057b8; background: #edf6ff; box-shadow: 0 8px 20px rgba(0, 87, 184, .12); transform: translateY(-1px); }
.eu-scp .external-auth-icon { flex: none; width: 22px; height: 22px; margin: 0; padding: 0; border: 0; background: center / contain no-repeat; }
.eu-scp .external-auth-icon i { display: none; }
.eu-scp .external-auth-name { width: auto; padding: 0; margin: 0; color: inherit; font-weight: inherit; white-space: nowrap; }
.eu-scp a.external-sign-in[title*="Microsoft"] .external-auth-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21 21'%3E%3Crect x='1' y='1' width='9' height='9' fill='%23f25022'/%3E%3Crect x='11' y='1' width='9' height='9' fill='%237fba00'/%3E%3Crect x='1' y='11' width='9' height='9' fill='%2300a4ef'/%3E%3Crect x='11' y='11' width='9' height='9' fill='%23ffb900'/%3E%3C/svg%3E"); }
.eu-scp a.external-sign-in[title*="Google"] .external-auth-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath fill='%23FFC107' d='M43.6 20.1H42V20H24v8h11.3C33.7 32.7 29.2 36 24 36c-6.6 0-12-5.4-12-12s5.4-12 12-12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 12.9 4 4 12.9 4 24s8.9 20 20 20 20-8.9 20-20c0-1.3-.1-2.6-.4-3.9z'/%3E%3Cpath fill='%23FF3D00' d='M6.3 14.7l6.6 4.8C14.7 15.1 19 12 24 12c3.1 0 5.8 1.2 7.9 3.1l5.7-5.7C34 6.1 29.3 4 24 4 16.3 4 9.7 8.3 6.3 14.7z'/%3E%3Cpath fill='%234CAF50' d='M24 44c5.2 0 9.9-2 13.4-5.2l-6.2-5.2C29.2 35.1 26.7 36 24 36c-5.2 0-9.6-3.3-11.3-8l-6.5 5C9.5 39.6 16.2 44 24 44z'/%3E%3Cpath fill='%231976D2' d='M43.6 20.1H42V20H24v8h11.3c-.8 2.2-2.2 4.2-4.1 5.6l6.2 5.2C37 39.2 44 34 44 24c0-1.3-.1-2.6-.4-3.9z'/%3E%3C/svg%3E"); }

.eu-scp #company { position: static; width: auto; margin: 20px 0 0; padding-top: 14px; border-top: 1px solid #e2e9f2; color: #5a6678; font-size: 12.5px; }
.eu-scp #company .content { padding: 0; background: none; box-shadow: none; text-shadow: none; color: inherit; border-radius: 0; }

.eu-scp .eu-scp-funding {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 22px;
    margin: 0 0 auto;
    padding: 12px 20px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(127, 220, 255, .14);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}
.eu-scp .eu-scp-funding img { height: 34px; width: auto; opacity: .92; }

.eu-scp #loading { border-radius: 16px; }

@media (max-width: 480px) {
    .eu-scp #loginBox { padding: 28px 20px 20px; border-radius: 18px; }
    .eu-scp .eu-scp-funding img { height: 26px; }
}

/* Password reset pages use a plain form and input.submit */
.eu-scp #loginBox form { width: 100%; margin: 22px 0 0; }
.eu-scp #loginBox h3:not(#login-message) { margin: 16px 0 0; color: #5a6678; font-size: 13.5px; font-weight: 500; }
.eu-scp #loginBox h3:empty { margin: 0; }
.eu-scp input.submit,
.eu-scp input[type=submit] {
    display: block;
    width: 100%;
    height: 50px;
    margin: 0;
    background: #0057b8;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(0, 87, 184, .28);
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
}
.eu-scp input[type=submit]:hover { background: #00479a; color: #fff; box-shadow: 0 14px 28px rgba(0, 87, 184, .34); }
