/* Login-only layout: allow the page to grow as notices are expanded. */
body {
    min-height: 100vh;
    height: auto;
    background-attachment: fixed;
}

.login-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    width: min(640px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 76px 0 80px;
}

.login-content .box {
    position: static;
    transform: none;
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    box-sizing: border-box;
}

.login-notices {
    padding: 24px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    overflow-wrap: anywhere;
}

.login-notices h2 {
    margin: 0 0 8px;
    color: #000b69;
    font-size: 1.25rem;
    font-weight: 700;
}

.notices-help {
    margin: 0 0 16px;
    color: #555;
    font-size: 0.875rem;
}

.notice {
    border-top: 1px solid #dce1eb;
}

.notice summary {
    padding: 16px 8px;
    color: #000b69;
    font-weight: 600;
    cursor: pointer;
}

.notice summary:hover,
.notice[open] summary {
    background: #eef3fb;
}

.notice summary:focus-visible {
    outline: 3px solid #3498db;
    outline-offset: 2px;
}

.notice-body {
    padding: 16px 8px;
    line-height: 1.8;
}

.notice-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .login-notices {
        padding: 20px 16px;
    }
}

.notice-text {
  white-space: pre-line;
}
