* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #edf1f5;
    color: #14263d;
    font-family: Arial, Helvetica, sans-serif;
}

.login-card {
    width: 100%;
    max-width: 510px;
    background: #ffffff;
    border: 1px solid #dce3eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(20,38,61,.12);
}

.brand {
    background: #14263d;
    color: #ffffff;
    text-align: center;
    padding: 34px 20px;
}

.brand-symbol {
    font-size: 34px;
    color: #ffffff;
    margin-bottom: 14px;
}

.brand h1 {
    margin: 0 0 10px;
    font-size: 25px;
}

.brand p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
}

.login-content {
    padding: 36px;
    text-align: center;
}

.restricted {
    display: inline-block;
    background: #e8edf4;
    color: #203650;
    border-radius: 4px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    margin: 22px 0 12px;
    font-size: 23px;
}

.login-content p {
    color: #526176;
    line-height: 1.6;
    font-size: 15px;
}

.google-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #bcc7d4;
    border-radius: 6px;
    padding: 16px;
    margin: 30px 0;
    color: #26364a;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background .15s;
}

.google-button:hover {
    background: #f1f5f9;
}

.google-button:focus-visible {
    outline: 3px solid #4285f4;
    outline-offset: 3px;
}

.notice {
    background: #f4f6f9;
    border-radius: 6px;
    padding: 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #991b1b;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
}

footer {
    border-top: 1px solid #e2e8f0;
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 480px) {
    .login-content {
        padding: 24px;
    }

    .brand h1 {
        font-size: 21px;
    }
}
