* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f4f5f7;
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    padding-top: 40px;
}

.dev-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #f59e0b;
    color: #1f1f1f;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.04em;
    padding: 8px 12px;
}

.auth-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    padding: 32px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.auth-icon {
    display: block;
    margin: 0 auto 12px;
}

.auth-card h1 {
    margin: 0 0 20px;
    font-size: 22px;
    text-align: center;
}

.auth-providers {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-google {
    background: #fff;
    color: #1f1f1f;
    border-color: #dadce0;
}

.btn-microsoft {
    background: #fff;
    color: #1f1f1f;
    border-color: #dadce0;
}

.btn-google i, .btn-microsoft i {
    margin-right: 8px;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    width: 100%;
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    font-size: 12px;
    color: #777;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e0e0e0;
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

form label {
    display: block;
    font-size: 13px;
    margin: 12px 0 4px;
    color: #333;
}

form input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    font-size: 14px;
}

form button {
    margin-top: 18px;
}

.auth-footer {
    text-align: center;
    font-size: 13px;
    margin-top: 18px;
    color: #555;
}

.auth-footer a {
    color: #2563eb;
    text-decoration: none;
}

.role-badge {
    display: inline-block;
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #eef2ff;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
}

.role-badge-super {
    background: #fef3c7;
    color: #92400e;
}

.membership-list {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    font-size: 14px;
    color: #333;
}

.membership-list li {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.membership-list li:last-child {
    border-bottom: none;
}
