/* Subsite Blurred Auth Overlay */
.subsite-auth-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 16px;
    box-sizing: border-box;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.subsite-auth-card {
    background: #ffffff;
    color: #0f172a;
    width: 100%;
    max-width: 360px;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    text-align: center;
}
.subsite-auth-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.subsite-auth-title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
}
.subsite-auth-subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #64748b;
}
.subsite-auth-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.subsite-auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #ffffff;
    color: #0f172a;
}
.subsite-auth-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.subsite-auth-btn {
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    background: #2563eb;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s;
}
.subsite-auth-btn:hover {
    background: #1d4ed8;
}
.subsite-auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.subsite-auth-error {
    color: #dc2626;
    font-size: 13px;
    min-height: 18px;
    margin-top: 4px;
}
.subsite-auth-overlay-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
