:root {
--primary: #ae1b38;
    --secondary: #4b101c;
            --success: #4cc9f0;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
        }


.custom-alert {
    border: 2px solid #fff3cd;
    background: linear-gradient(45deg, #fff9e6, #ffffff);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

.text-warning-dark {
    color: #e0a800;
    font-family: 'Arial Rounded MT Bold', sans-serif;
}

.alert-hr {
    width: 50%;
    border-top: 2px dashed #ffe082;
}

.fa-book-open {
    color: #ffc107;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

        .alert-info-custom {
    border: 2px solid #4dc4ff;
    background: linear-gradient(135deg, #f0f9ff, #e3f2fd);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(77, 196, 255, 0.1);
}

.alert-title {
    color: #1e88e5;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}




.fa-exclamation-circle {
    color: #1e88e5;
    text-shadow: 0 2px 4px rgba(30, 136, 229, 0.2);
}

             
        .navbar-brandb {
            font-weight: 700;
            color: var(--primary);
        }
        
        .post-containerb {
            max-width: 700px;
            margin: 0 auto;
        }
        
        .post-cardb {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            margin-bottom: 25px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .post-cardb:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        
        .post-headerb {
            display: flex;
            align-items: center;
            padding: 15px 20px;
            border-bottom: 1px solid var(--light-gray);
        }
        
        .avatarb {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 12px;
            border: 2px solid var(--primary);
        }
        
        .user-infob {
            flex-grow: 1;
        }
        
        .usernameb {
            font-weight: 600;
            margin-bottom: 3px;
            color: var(--dark);
        }
        
        .post-dateb {
            font-size: 0.85rem;
            color: var(--gray);
        }
        
        .post-actionsb {
            position: relative;
        }
        
        .dropdown-toggleb {
            background: none;
            border: none;
            color: var(--gray);
            font-size: 1.2rem;
            padding: 0;
        }
        
        .post-contentb {
            padding: 20px;
        }
        
        .post-titleb {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: var(--secondary);
        }
        
        .post-textb {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 20px;
            color: #444;
        }
        
        .post-videob {
            width: 100%;
            height: 400px;
            border-radius: 8px;
            margin-bottom: 20px;
            background-color: #000;
        }
        
        .target-infob {
            background-color: var(--light);
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            border-left: 3px solid var(--primary);
        }
        
        .info-titleb {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--primary);
        }
        
        .info-itemsb {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .info-itemb {
            display: flex;
            align-items: center;
        }
        
        .info-itemb i {
            margin-right: 5px;
            color: var(--primary);
        }
        
        .post-footerb {
            padding: 15px 20px;
            border-top: 1px solid var(--light-gray);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .btn-respondb {
            background: var(--primary);
            border: none;
            border-radius: 8px;
            padding: 8px 20px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-respondb:hover {
            background: var(--secondary);
            transform: translateY(-2px);
        }
        
        .btn-editb {
            color: var(--gray);
            padding: 5px 10px;
            font-size: 0.9rem;
        }
        
        .btn-editb:hover {
            color: var(--primary);
        }
        .embed-container {
    max-width: 800px;
    margin: auto;
    border: 2px solid #7f1d1d;
    border-radius: 16px;
    overflow: hidden;
    background: #fef2f2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.embed-container iframe {
    width: 100%;
    height: 60vh;
    border: none;
    transition: all 0.4s ease;
}


.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .embed-container iframe {
        height: 50vh;
    }
}

                
        @media (max-width: 768px) {
            .post-videob {
                height: 250px;
            }
            
            .post-titleb {
                font-size: 1.2rem;
            }
        }

        


/* Estilos personalizados */

.form-card {

    background: rgba(255, 255, 255, 0.98);

    border-radius: 15px;

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

    border: 1px solid rgba(7, 61, 96, 0.1);

    overflow: hidden;

    margin: 0 0 25px 0px;

}



.nav-tabs-custom {

    border-bottom: 2px solid #073d60;

   overflow-y: hidden;

    flex-wrap: nowrap;

    padding-bottom: 2px;

}



.nav-tabs-custom .nav-link {

    color: #073d60;

    border: none;

    font-weight: 500;

    padding: 1rem 1.5rem;

    transition: all 0.3s ease;

    position: relative;

    white-space: nowrap;

}



.nav-tabs-custom .nav-link.active {

    color: #b11c3a;

    background: transparent;

}



.nav-tabs-custom .nav-link.active:after {

    content: '';

    position: absolute;

    bottom: -2px;

    left: 0;

    right: 0;

    height: 3px;

    background: #ae1c39;

    border-radius: 2px;

}



.nav-tabs-custom .nav-link:hover {

    color: var(--color-secondary);

}



.form-label {

    color: #073d60;

    font-weight: 500;

    margin-bottom: 0.5rem;

}



.form-control-custom {

    border: 2px solid #e0e0e0;

    border-radius: 8px;

    transition: all 0.3s ease;

}



.form-control-custom:focus {

    border-color: var(--color-secondary);

    box-shadow: 0 0 0 3px rgba(224, 123, 0, 0.2);

}



.btn-custom-primary {

    background: #af1c39;

    color: white;

    padding: 12px 30px;

    border-radius: 8px;

    border: none;

    font-weight: 600;

    transition: all 0.3s ease;

}



.btn-custom-primary:hover {

      background: #650014;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(224, 123, 0, 0.3);
    color: #fff;
}



.btn-custom-secondary {

    background: #073d60;

    color: white;

}



.btn-custom-secondary:hover {

    background: #052d48;

    color: white;

}



.select2-container--default .select2-selection--single {

    border: 2px solid #e0e0e0 !important;

    border-radius: 8px !important;

    height: auto !important;

    padding: 10px 15px !important;

}








        .card-box-msg {

            background: #ffffff;

            border-radius: 12px;

            box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);

            padding: 2rem;

            text-align: center;

            color: #444;

            padding: 1.25rem;

    -webkit-box-shadow: 0 0 35px 0 rgba(73, 80, 87, .15);

    box-shadow: 0 0 35px 0 rgba(73, 80, 87, .15);

    margin-bottom: 24px;

    border-radius: .25rem;

        }



        .greeting {

            font-size: 1.8em;

            font-weight: 600;

            color: #333;

        }



        .time-message {

            font-size: 1.2em;

            margin-top: 0.5rem;

            color: #555;

        }



        .icon {

            font-size: 3em;

            color: #5d54a4;

            margin-bottom: 1rem;

        }





         /* Contenedor principal */

         .message-container-msg {

            align-items: center;

            justify-content: center;

            padding: 20px;

            background: linear-gradient(45deg, #f5a623, #f5a623 20%, #4b101c 20%, #4b101c 40%, #b11d37 40%, #ac1b38 60%, #f04e2e 60%, #f04e2e 80%);

            font-family: 'Roboto', sans-serif;

            border-radius: 10px;

        }



        /* Estilos del aviso */

        .message-box-msg {

            padding: 20px;

            text-align: center;

            background: linear-gradient(135deg, #4b101c, #b01d39);

            color: white;

            border-radius: 15px;

            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

        }



        /* Logo simulado y título */

        .logo-anniversary-msg {

            font-size: 2em;

            color: #f5a623;

            font-weight: bold;

            margin-bottom: 10px;

        }



        .message-box-msg h1 {

            font-size: 1.8em;

            font-weight: bold;

            margin: 10px 0;

            color: #ffffff;

        }



        /* Texto del mensaje */

        .message-box-msg p {

            font-size: 1.2em;

            margin: 10px 0;

        }



        /* Resaltado del nombre del evento */

        .highlight-msg {

            color: #f5a623;

        }



        /* Pie de página */

        .footer-msg {

            font-size: 1em;

            margin-top: 20px;

        }


/* Estilo del botón de ayuda */
.drive-help-btn {
    background: linear-gradient(135deg, #4285F4, #34A853);
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.drive-help-btn svg {
    color: white;
    transition: transform 0.3s ease;
}

.drive-help-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.drive-help-btn:hover svg {
    transform: rotate(15deg);
}

/* Estilos del modal */
.drive-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.drive-modal-content {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: translateY(-50px);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.drive-modal-header {
    background: linear-gradient(135deg, #4285F4, #34A853);
    padding: 25px;
    text-align: center;
    color: white;
    position: relative;
}

.drive-modal-header h3 {
    margin: 15px 0 0;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.drive-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.drive-modal-close:hover {
    transform: scale(1.2);
    color: #EA4335;
}

.drive-modal-body {
    padding: 25px;
    height: 350px;
    overflow-y: scroll;
}

.drive-step {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.drive-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
}

.step-content h4 {
    margin-top: 0;
    color: #1a73e8;
    font-size: 1.3rem;
}

.step-content p {
    margin-bottom: 0;
    color: #5f6368;
    line-height: 1.6;
}

.permission {
    background: #e8f0fe;
    color: #1a73e8;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.drive-modal-footer {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.drive-modal-btn {
    background: linear-gradient(135deg, #4285F4, #34A853);
    color: white;
    border: none;
    padding: 12px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(66, 133, 244, 0.4);
}

.drive-modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(66, 133, 244, 0.6);
}

/* Animaciones */
.drive-modal.show {
    display: flex;
    opacity: 1;
}

.drive-modal.show .drive-modal-content {
    transform: translateY(0);
}

.active-cycle-alert {
    border: 2px solid #b2dfdb;
    background: linear-gradient(45deg, #e8f5e9, #f1f8e9);
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.1);
    max-width: 700px;
}

.text-teal {
    color: #00796b;
    font-family: 'Segoe UI Semibold', sans-serif;
}

.progress-bar-cycle {
    width: 120px;
    height: 4px;
    background: #80cbc4;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress-bar-cycle::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 100%;
    background: #00796b;
    animation: progressSlide 2s infinite linear;
}

@keyframes progressSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

.info-box {
    background: rgba(178, 223, 219, 0.15);
    border-radius: 10px;
    padding: 15px;
    margin: 15px auto;
    max-width: 400px;
}

.step-badge {
    padding: 8px 12px;
    border: 1px solid #a5d6a7;
    border-radius: 20px;
    background: white;
    transition: transform 0.3s ease;
}

.step-badge:hover {
    transform: translateY(-3px);
}

.fa-calendar-check {
    color: #009688;
    filter: drop-shadow(1px 1px 2px rgba(0, 131, 118, 0.1));
}


/* Estilos existentes mejorados */
.custom-alert-cycle {
    border: 2px solid #ffd8a8;
    background: linear-gradient(45deg, #fff3e6, #fffdfa);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.1);
    max-width: 800px;
}

.text-purple {
    color: #6a1b9a;
}

.badge-cycle, .badge-materias {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    margin: 5px 2px;
}

.badge-cycle {
    background: #fff3e0;
    border: 1px solid #ffab40;
    color: #ef6c00;
}

.badge-materias {
    background: #f3e5f5;
    border: 1px solid #ab47bc;
    color: #8e24aa;
}

.requisito-box {
    padding: 15px;
    border-radius: 10px;
    margin: 10px;
    min-height: 200px;
    transition: transform 0.3s ease;
}

.bg-cycle {
    background: rgba(255, 213, 79, 0.1);
    border: 1px dashed #ffb300;
}

.bg-materias {
    background: rgba(171, 71, 188, 0.05);
    border: 1px dashed #ab47bc;
}

.step-item {
    text-align: left;
    margin: 10px 0;
    padding: 8px;
    border-radius: 5px;
    background: rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateX(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Nuevos efectos */
.requisito-box:hover {
    transform: translateY(-5px);
}

/* Nuevos estilos agregados */
.text-teal {
    color: #00796b;
}

.badge-plan {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.9em;
    margin: 5px 2px;
    background: #e0f2f1;
    border: 1px solid #009688;
    color: #00796b;
}

.bg-plan {
    background: rgba(0, 150, 136, 0.05);
    border: 1px dashed #009688;
}

/* Contenedor de contenido restringido */
.restricted-content {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 16px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    animation: fadeInRestricted 0.8s ease;
}

/* Icono de candado */
.restricted-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6c757d, #495057);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
}

.restricted-icon svg {
    width: 40px;
    height: 40px;
}

/* Texto */
.restricted-title {
    font-size: 1.8rem;
    color: #343a40;
    margin-bottom: 15px;
    font-weight: 600;
}

.restricted-message {
    font-size: 1.1rem;
    color: #495057;
    max-width: 500px;
    margin: 0 auto 25px;
    line-height: 1.6;
}

.highlight {
    background: linear-gradient(120deg, #dee2e6 0%, #adb5bd 100%);
    padding: 2px 8px;
    border-radius: 6px;
    font-weight: 600;
    color: #212529;
}

/* Nota informativa */
.restricted-hint {
    font-size: 0.9rem;
    color: #6c757d;
    padding: 10px 15px;
    background: #e9ecef;
    border-radius: 8px;
    display: inline-block;
    margin-top: 15px;
}

.restricted-hint i {
    margin-right: 8px;
    color: #495057;
}

/* Animaciones */
@keyframes fadeInRestricted {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
    50% { transform: scale(1.05); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15); }
    100% { transform: scale(1); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); }
}

/* Efecto de borde decorativo */
.restricted-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #6c757d, #495057);
    animation: borderGrow 1.2s ease-out;
}

@keyframes borderGrow {
    from { width: 0; }
    to { width: 100%; }
}

/* Ajustes para 3 columnas */
.col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

/* Ajustes responsive */
@media (max-width: 992px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .requisito-box {
        min-height: auto;
        margin: 10px 0;
    }
}

.fa-clipboard-list {
    color: #ff9100;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    .requisito-box {
        min-height: auto;
    }
}



/* Responsive */
@media (max-width: 768px) {
    .drive-modal-content {
        width: 95%;
    }
    
    .drive-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

}
        .modal-content {
            border-radius: 16px;
            border: none;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
            overflow: hidden;
        }
        .modal-header {
            background: linear-gradient(120deg, #ff6b6b, #ff8e8e);
            color: white;
            padding: 20px;
            position: relative;
        }
        .modal-title {
            font-weight: 700;
            font-size: 1.5rem;
        }
        .warning-icon {
            font-size: 3.5rem;
            color: #ff6b6b;
            text-align: center;
            margin: 20px 0;
        }
        .modal-body {
            padding: 25px;
            color: #444;
        }
        .alert-section {
            background-color: #fff4f4;
            border-left: 5px solid #ff6b6b;
            border-radius: 8px;
            padding: 20px;
            margin-bottom: 25px;
        }
        .consequences-list {
            list-style-type: none;
            padding: 0;
            margin: 20px 0;
        }
        .consequences-list li {
            padding: 12px 0;
            padding-left: 40px;
            position: relative;
            border-bottom: 1px solid #f0f0f0;
        }
        .consequences-list li i {
            position: absolute;
            left: 0;
            top: 14px;
            color: #ff6b6b;
            font-size: 1.2rem;
            background: #ffecec;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .solution-box {
            background-color: #f0f8ff;
            border-left: 5px solid #4e85c8;
            border-radius: 8px;
            padding: 20px;
            margin: 25px 0;
        }
        .btn-enterado {
            background: linear-gradient(120deg, #4e85c8, #5a9de6);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 12px 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: all 0.3s;
            width: 100%;
            margin-top: 15px;
        }
        .btn-enterado:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(78, 133, 200, 0.4);
        }
        .modal-footer {
            border-top: 1px solid #e9ecef;
            padding: 20px;
            display: flex;
            justify-content: center;
        }
        .urgent-pulse {
            animation: pulse 2s infinite;
        }
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        .highlight {
            color: #ff6b6b;
            font-weight: 700;
        }

.banner-container {
            width: 100%;
            height: 400px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
            position: relative;
            margin: 0 0 30px 0px;
        }

        .carousel {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }



  .slide {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  padding: 50px 30px;
  text-align: center;
  transition: opacity 1s ease;
}

.slide.active {
  display: block;
  opacity: 1;
}

        .slide-icon {
            font-size: 80px;
            margin-bottom: 20px;
            animation: float 4s infinite ease-in-out;
            filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
        }

        .slide-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 15px;
            color: white;
            text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
        }

        .slide-text {
            font-size: 1.2rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.6;
            text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
        }

        /* Saludo Dinámico */
        .slide-greeting {
            background: linear-gradient(135deg, #43cea2 0%, #185a9d 100%);
            background-size: 200% 200%;
            animation: gradientShift 8s ease infinite;
        }

        /* Biblioteca Escolar */
        .slide-library {
            background: linear-gradient(135deg, #8B4513 0%, #D2B48C 100%);
            background-size: 200% 200%;
            animation: gradientShift 8s ease infinite;
        }

        /* Monitoreo 24/7 */
        .slide-monitoring {
            background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
            background-size: 200% 200%;
            animation: gradientShift 8s ease infinite;
        }

        /* Navegación */
        .carousel-nav {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
        }

        .nav-dot {
            width: 15px;
            height: 15px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .nav-dot.active {
            background: white;
            transform: scale(1.2);
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
        }

        .nav-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

        .nav-arrow:hover {
            background: rgba(255, 255, 255, 0.4);
        }

        .nav-arrow i {
            font-size: 24px;
            color: white;
            text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
        }

        .nav-prev {
            left: 20px;
        }

        .nav-next {
            right: 20px;
        }

        /* Partículas */
        .particles {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .particle {
  position: absolute;
  animation: floatParticle 15s infinite linear;
  opacity: 0.7;
}

@keyframes floatParticle {
  0% { transform: translateY(0) scale(0.8); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}
        /* Animaciones */
        @keyframes float {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            25% { transform: translateY(-15px) rotate(5deg); }
            50% { transform: translateY(5px) rotate(-5deg); }
            75% { transform: translateY(-10px) rotate(3deg); }
        }

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes particleFloat {
            0% { 
                transform: translateY(100%) translateX(0) rotate(0deg); 
                opacity: 0;
            }
            10% { opacity: 0.7; }
            90% { opacity: 0.7; }
            100% { 
                transform: translateY(-100%) translateX(20px) rotate(360deg); 
                opacity: 0;
            }
        }

        @keyframes shine {
            0% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); }
            50% { filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8)); }
            100% { filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0)); }
        }

        .shine-animation {
            animation: shine 3s infinite;
        }

        /* Elementos temáticos */
        .theme-element {
            position: absolute;
            font-size: 30px;
            opacity: 0.7;
            z-index: 2;
            animation: themeFloat 20s infinite ease-in-out;
        }

        @keyframes themeFloat {
            0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); }
            25% { transform: translateY(-20px) translateX(10px) rotate(5deg); }
            50% { transform: translateY(10px) translateX(-10px) rotate(-5deg); }
            75% { transform: translateY(-10px) translateX(5px) rotate(3deg); }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .banner-container {
                height: 450px;
            }
            
            .slide-title {
                font-size: 2rem;
            }
            
            .slide-text {
                font-size: 1rem;
                max-width: 95%;
            }
            
            .slide-icon {
                font-size: 60px;
            }
        }

.alerta-calificaciones {
    background: linear-gradient(145deg, #fffbe6, #fff);
    border: 3px dashed #f39c12;
    border-radius: 10px;
  }
  .alerta-calificaciones h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Scroll horizontal */
  .materias-scroll {
    overflow-x: auto;
    display: flex;
    scrollbar-width: thin;
    scrollbar-color: #f39c12 transparent;
  }
  .materias-scroll::-webkit-scrollbar {
    height: 8px;
  }
  .materias-scroll::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 10px;
  }

  /* Tarjeta de materia */
  .materia-card {
    width: 280px;
    background: #ffffff;
    border: 2px solid #f1c40f;
    border-radius: 15px;
    padding: 15px;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease;
margin: 0 15px 0px 0px;
  }
  .materia-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }

  .materia-card h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .materia-card p {
    font-size: 0.9rem;
    margin-bottom: 6px;
  }

  .btn-success {
    font-weight: bold;
    border-radius: 10px;
  }
  .btn-outline-info {
    font-weight: bold;
    border-radius: 10px;
  }

.admin-message {
            background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
            border-radius: 16px;
            padding: 2.5rem;
            color: white;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        .admin-message::before {
            content: "";
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
            z-index: 0;
        }
        .admin-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 1;
        }
        .admin-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            position: relative;
            z-index: 1;
        }
        .admin-text {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            line-height: 1.6;
            position: relative;
            z-index: 1;
        }
        .admin-contact {
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 12px;
            padding: 1.5rem;
            margin-top: 1.5rem;
            position: relative;
            z-index: 1;
        }
        .contact-title {
            font-weight: 600;
            margin-bottom: 0.8rem;
        }
        .contact-info {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }
        .contact-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .btn-contact {
            background-color: white;
            color: #6a11cb;
            border: none;
            border-radius: 50px;
            padding: 0.8rem 2rem;
            font-weight: 600;
            margin-top: 1.5rem;
            transition: all 0.3s ease;
            position: relative;
            z-index: 1;
        }
        .btn-contact:hover {
            background-color: #f8f9fa;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }