/* --- Contenedor Base --- */
.illan-access-denied-wrapper {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main, #333);
}

/* Modo Pantalla Completa */
.illan-access-full-screen {
    min-height: 60vh; /* Ocupa buena parte de la pantalla */
    padding: 2rem;
    animation: illanFadeIn 0.5s ease-out;
}

/* Modo Bloque (Incrustado) */
.illan-access-inline-block {
    padding: 1.5rem;
    margin: 1rem 0;
    background-color: #fff1f0; /* Tono rojo muy suave */
    border: 1px dashed #ffa39e;
    border-radius: 8px;
}

/* --- Tarjeta --- */
.illan-access-card {
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.illan-access-full-screen .illan-access-card {
    background: var(--color-surface, #fff);
    /* Sombra suave solo en modo full */
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    padding: 3rem;
    border-radius: 16px;
}

/* --- Elementos --- */
.illan-access-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.illan-access-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ff4d4f; /* Rojo alerta */
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.illan-access-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--color-text-main, #1f1f1f);
}

.illan-access-reason {
    font-size: 0.95rem;
    color: var(--color-text-muted, #666);
    line-height: 1.6;
    margin-bottom: 2rem;
    background: rgba(0,0,0,0.03);
    padding: 1rem;
    border-radius: 6px;
    display: inline-block;
}

/* --- Botones --- */
.illan-access-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.illan-btn-primary, .illan-btn-secondary {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.illan-btn-primary {
    background: var(--color-accent, #000);
    color: #fff;
}

.illan-btn-secondary {
    background: transparent;
    border: 1px solid #ddd;
    color: #555;
}

.illan-btn-primary:hover { opacity: 0.9; }
.illan-btn-secondary:hover { border-color: #999; color: #333; }

/* Animación */
@keyframes illanFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}