.auth-page-wrap {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    overflow: hidden;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 20px 24px;
    box-sizing: border-box;
    font-size: 13px;
    max-height: 96vh;
    overflow-y: auto;
}

.auth-container h1 {
    text-align: center;
    font-size: 1.15rem;
    margin: 0 0 12px;
}

.auth-errors {
    background: #fdecea;
    color: #b3261e;
    padding: 7px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    list-style: none;
    font-size: 0.8rem;
}

.auth-error {
    background: #fdecea;
    color: #b3261e;
    padding: 7px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.auth-success {
    background: #e6f4ea;
    color: #1e7e34;
    padding: 7px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.auth-info {
    background: #e8f0fe;
    color: #1a56db;
    padding: 7px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.auth-container form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.auth-container label {
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
}

.auth-container input {
    padding: 7px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    box-sizing: border-box;
}

.auth-container input:focus {
    outline: none;
    border-color: #1a56db;
    box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.auth-container button[type="submit"] {
    margin-top: 10px;
    padding: 8px;
    border: none;
    border-radius: 6px;
    background: #1a56db;
    color: #fff;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
}

.auth-container button[type="submit"]:hover {
    background: #1543ad;
}

.auth-container p {
    text-align: center;
    font-size: 0.78rem;
    margin: 6px 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9ca3af;
    font-size: 0.75rem;
    margin: 10px 0;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e5e7eb;
}

.auth-divider span {
    padding: 0 10px;
}

.auth-oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 500;
    color: #1f2937;
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.btn-oauth svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-oauth-google:hover {
    background: #f9fafb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.btn-oauth-orcid {
    border-color: #a6ce39;
}

.btn-oauth-orcid:hover {
    background: #f6faee;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}