/* LaCityRP - Estilos para Página de Sanciones */
/* Diseño Profesional, Moderno y Minimalista */

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */
.sanciones-container {
    padding: 40px 30px;
    max-width: 1600px;
    margin: 0 auto;
    color: var(--lacity-text-main);
    min-height: calc(100vh - 200px);
}

/* ============================================
   HEADER DE SANCIONES
   ============================================ */
.sanciones-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px 20px;
    background: var(--lacity-bg-dark);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.sanciones-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lacity-blue-main), transparent);
}

.sanciones-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--lacity-text-main);
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
}

.sanciones-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--lacity-blue-main);
    border-radius: 2px;
}

.sanciones-description {
    max-width: 100%;
    margin: 0 auto 35px;
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--lacity-text-secondary);
    background: var(--lacity-bg-dark);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sanciones-description strong {
    color: var(--lacity-text-main);
    font-weight: 600;
}

/* ============================================
   SECCIÓN DE CATEGORÍAS
   ============================================ */
.sanciones-categories {
    max-width: 100%;
    margin: 0 auto 35px;
    padding: 24px;
    background: var(--lacity-bg-dark);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sanciones-categories h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--lacity-text-main);
    text-align: center;
}

.sanciones-categories p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lacity-text-secondary);
    margin-bottom: 15px;
}

.sanciones-categories ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.sanciones-categories ul li {
    padding: 12px 0;
    padding-left: 24px;
    color: var(--lacity-text-secondary);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.sanciones-categories ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--lacity-text-highlight);
    opacity: 0.6;
}

.sanciones-categories ul li strong {
    color: var(--lacity-text-main);
    font-weight: 600;
}

/* ============================================
   GRID DE SANCIONES
   ============================================ */
.sanciones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Ajustes para diferentes tamaños de pantalla */
@media (min-width: 1400px) {
    .sanciones-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .sanciones-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .sanciones-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .sanciones-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ============================================
   TARJETAS DE SANCIONES
   ============================================ */
.sancion-card {
    background: var(--lacity-bg-dark);
    border-radius: 10px;
    padding: 20px;
    transition: var(--lacity-transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    height: fit-content;
}

.sancion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--lacity-blue-main), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sancion-card:hover::before {
    opacity: 1;
}

.sancion-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(84, 188, 246, 0.1);
    background: rgba(26, 26, 26, 0.98);
}

/* ============================================
   NIVELES DE SANCIONES
   ============================================ */
.sancion-level {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.sancion-level i {
    font-size: 1rem;
}

/* Nivel 1 - Advertencias (Amarillo/Naranja suave) */
.sancion-level.level-1 {
    color: rgba(255, 193, 7, 0.9);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.2);
}

/* Nivel 2 - Conducta Inaceptable (Naranja) */
.sancion-level.level-2 {
    color: rgba(255, 152, 0, 0.9);
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.2);
}

/* Nivel 3 - Violaciones Graves (Rojo suave) */
.sancion-level.level-3 {
    color: rgba(255, 87, 34, 0.9);
    background: rgba(255, 87, 34, 0.1);
    border: 1px solid rgba(255, 87, 34, 0.2);
}

/* ============================================
   CONTENIDO DE TARJETAS
   ============================================ */
.sancion-card h3 {
    color: var(--lacity-text-main);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 2.6em;
}

.sancion-card p {
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--lacity-text-secondary);
}

.sancion-card .duration {
    font-weight: 600;
    color: var(--lacity-text-highlight);
    font-size: 0.95rem;
}

.sancion-card strong {
    color: var(--lacity-text-main);
    font-weight: 600;
}

/* Tarjetas de encabezado de nivel */
.sancion-card.header-card {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px;
    background: rgba(84, 188, 246, 0.05);
    border: 1px solid rgba(84, 188, 246, 0.2);
    margin-bottom: 10px;
}

.sancion-card.header-card h3 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--lacity-text-highlight);
    min-height: auto;
}

.sancion-card.header-card .sancion-level {
    margin: 0 auto 12px;
    justify-content: center;
}

/* ============================================
   SECCIONES ADICIONALES
   ============================================ */
.appeals-section,
.note-section {
    max-width: 100%;
    margin: 40px auto 0;
    padding: 28px;
    background: var(--lacity-bg-dark);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.appeals-section h2,
.note-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--lacity-text-main);
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.appeals-section h2 i,
.note-section h2 i {
    color: var(--lacity-text-highlight);
    font-size: 1.3rem;
}

.appeals-section p,
.note-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--lacity-text-secondary);
    margin-bottom: 15px;
}

.appeals-section ol,
.note-section ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.appeals-section ol li,
.note-section ul li {
    padding: 12px 0;
    padding-left: 32px;
    color: var(--lacity-text-secondary);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.6;
}

.appeals-section ol li::before {
    content: counter(list-item);
    counter-increment: list-item;
    position: absolute;
    left: 0;
    color: var(--lacity-text-highlight);
    font-weight: 600;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(84, 188, 246, 0.1);
    border-radius: 4px;
    font-size: 0.85rem;
}

.appeals-section ol {
    counter-reset: list-item;
}

.note-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--lacity-text-highlight);
    opacity: 0.6;
    font-size: 0.9rem;
}

.appeals-section ol li:last-child,
.note-section ul li:last-child {
    border-bottom: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .sanciones-container {
        padding: 30px 15px;
    }
    
    .sanciones-header {
        padding: 24px 15px;
    }
    
    .sanciones-header h1 {
        font-size: 1.8rem;
    }
    
    .sanciones-description {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .sanciones-categories {
        padding: 20px;
    }
    
    .sancion-card {
        padding: 18px;
    }
    
    .appeals-section,
    .note-section {
        padding: 20px;
    }
}

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sancion-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

