/* Shared by the student and company login pages only. */
.login-with-notice > .loglogo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}
.login-important-notice {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.6rem;
    padding: 2.4rem;
    border: 1px solid #edbdc5;
    border-radius: 1.8rem;
    background: #fff1f2;
    box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.11);
    color: #102d4e;
    text-align: left;
    font-size: 1.6rem;
    line-height: 1.6;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.login-important-notice:hover,
.login-important-notice:focus-visible {
    background: #ffe1e5;
    color: #102d4e;
    text-decoration: none;
}
.login-important-notice:focus-visible { outline: 3px solid #102d4e; outline-offset: 4px; }
.login-important-notice-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    background: #fce0e2;
    color: #df2435;
}
.login-important-notice-icon svg { width: 3rem; height: 3.6rem; }
.login-important-notice-arrow {
    display: block;
    box-sizing: border-box;
    width: 1.2rem;
    height: 1.2rem;
    border-top: 2px solid #df2435;
    border-right: 2px solid #df2435;
    transform: rotate(45deg);
}
.login-important-notice-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.8rem 1.6rem; }
.login-important-notice-label {
    font-size: 0.9em;
    padding: 0.4rem 1.2rem;
    border-radius: 0.6rem;
    background: #df2435;
    color: #fff;
    font-weight: 700;
}
.login-important-notice time { color: #757d82; }
.login-important-notice-content h2 {
    margin: 0.8rem 0 0;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
@media screen and (min-width: 961px) {
    .login-with-notice > .loglogo { height: 100vh; }
    /* Position the notice independently so the existing logo stays centered. */
    .login-with-notice .login-important-notice {
        position: absolute;
        top: calc(50% + 13rem);
        left: 4%;
        width: 92%;
        max-height: calc(50% - 14rem);
        overflow-y: auto;
    }
}
@media screen and (min-width: 961px) and (max-width: 1600px) {
    .login-important-notice { grid-template-columns: 4.8rem minmax(0, 1fr) auto; gap: 1.2rem; padding: 1.8rem; }
    .login-important-notice-icon { width: 4.8rem; height: 4.8rem; }
}
@media screen and (min-width: 961px) and (max-width: 1200px) {
    .login-important-notice { grid-template-columns: minmax(0, 1fr) auto; gap: 0.8rem; padding: 1.2rem; }
    .login-important-notice-icon { display: none; }
}
@media screen and (max-width: 960px) {
    .logarea.login-with-notice { display: block; height: auto; min-height: 100vh; }
    .login-with-notice > .loglogo { flex-direction: column; height: auto; padding-bottom: 2.4rem; }
    .login-with-notice > .loglogo > h1 { flex-shrink: 0; }
    .login-with-notice:not(.jukos-login) > .loglogo > h1 { margin: 7.5rem 0; width: 100%; }
    .login-with-notice:not(.jukos-login) > .loglogo > h1 img { width: 75%; height: auto; }
    .login-important-notice { width: calc(100% - 3.2rem); grid-template-columns: 4.8rem minmax(0, 1fr) auto; gap: 1.2rem; padding: 1.6rem; }
    .login-important-notice-icon { width: 4.8rem; height: 4.8rem; }
    .login-important-notice-content h2 { font-size: 1.5rem; }
    .login-important-notice-meta { font-size: 1.3rem; }
    .login-with-notice:not(.jukos-login) .loginner { box-sizing: border-box; width: 100%; margin-top: 0; padding: 4rem 3.2rem; }
}
