/* ==========================================
   UNAUTHORIZED / ACCESS DENIED GLASS CARD
   ========================================== */
.unauthorized-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.unauthorized-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.unauthorized-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
}

.unauthorized-icon-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #EF4444;
    font-size: 2.25rem;
    border: 1.5px solid rgba(239, 68, 68, 0.15);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.08);
}

.unauthorized-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #0F172A;
    margin: 0 0 0.75rem 0;
    letter-spacing: -0.3px;
}

.unauthorized-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    color: #64748B;
    line-height: 1.55;
    margin: 0;
    max-width: 360px;
}

/* Medikiz Nexus Handshake Transition */
.auth-entrance {
    animation: authFadeIn 0.4s ease-out;
}

@keyframes authFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* Spinner Rotation Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spin-animation {
    display: inline-block;
    animation: spin 1.5s linear infinite;
}

