
        body {
            font-family: 'Playfair Display', serif;
            background-color: #FAF3E0;
            margin: 0;
            padding: 0;
            background-image: url('assets/images/fondodashboard.webp');
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
        }

        /* Estilo para centrar el título */
        #gradebookTitle {
            font-family: 'Dancing Script', cursive; /* Consistencia con el estilo general */
            font-size: 3rem; /* Ajusta el tamaño del texto */
            color: #6A8E7F; /* Color acorde al diseño */
            text-align: center; /* Centra horizontalmente el texto */
            margin: 5px 0; /* Espaciado arriba y abajo */
            font-weight: bold;
        }


        .navbar {
            background-color: #8FC0A9;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .navbar h1 {
            font-family: 'Dancing Script', cursive;
            font-size: 2rem;
            color: #ffffff;
        }

        .navbar .actions a {
            color: #ffffff;
            text-decoration: none;
            margin: 0 10px;
            font-size: 1rem;
        }

        .container {
            margin: 20px auto;
            max-width: 1200px;
            padding: 20px;
            background: #FFFFFF;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }

        .container_dashboard {
            margin: 20px auto;
            max-width: 1450px;
            padding: 20px;
            background: #FFFFFF;
            border-radius: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            opacity: 0.94 !important; /* Hace transparente todo el elemento */
        }

        h2 {
            font-family: 'Dancing Script', cursive;
            font-size: 2rem;
            color: #6A8E7F;
            margin-bottom: 20px;
        }

        .agenda {
            margin-top: 40px;
        }

        .agenda h3 {
            font-family: 'Dancing Script', cursive;
            font-size: 1.8rem;
            color: #6A8E7F;
            margin-bottom: 10px;
        }

        .agenda #calendar {
            background: #EDE6DB;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }


        #alumnosTable th:nth-child(n+3):nth-child(-n+14),
        #alumnosTable td:nth-child(n+3):nth-child(-n+14) {
            width: 80px; /* Ajusta el ancho según tus necesidades */
        }


        .footer {
            text-align: center;
            margin-top: 20px;
            padding: 10px;
            background: #8FC0A9;
            color: white;
            border-radius: 0 0 12px 12px;
        }

        .btn-primary {
            background-color: #F4A259;
            border: none;
            color: white;
            padding: 10px 20px;
            font-size: 1rem;
            font-family: 'Playfair Display', serif;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .btn-primary_dashboard {
            background-color: #F4A259;
            border: none;
            color: white;
            padding: 10px 20px;
            font-size: 1rem;
            font-family: 'Playfair Display', serif;
            border-radius: 8px;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .btn-primary:hover {
            background-color: #D68050;
        }


        .footer {
            text-align: center;
            margin-top: 20px;
            padding: 10px;
            background: #8FC0A9;
            color: white;
            border-radius: 0 0 12px 12px;
        }


#cursoTabs {
    border-bottom: 1px solid #ddd;
}

#cursoTabs .nav-link {
    border: 1px solid #ddd;
    border-bottom: none;
    padding: 10px 15px;
    margin-right: 5px;
    background-color: #f9f9f9;
    cursor: pointer;
}

#cursoTabs .nav-link.active {
    background-color: white;
    border-bottom: 1px solid white;
    font-weight: bold;
}

/*botone hojas curso*/
#courseTabs {
    border-bottom: 2px solid #ddd;
}

#courseTabs .tab {
    cursor: pointer;
    margin-right: 5px;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 5px 0 0;
    background-color: #f8f9fa;
    color: #007bff;
    font-weight: bold;
    text-align: center;
}

#courseTabs .tab.active {
    background-color: #ffffff;
    color: #495057;
    border-bottom: 2px solid #ffffff;
}

#courseTabs .tab:hover {
    background-color: #e9ecef;
    color: #0056b3;
}

/*Modal*/
/* Estilo para el modal */
.modal-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Playfair Display', serif;
    padding: 20px;
}

.modal-header {
    border-bottom: 1px solid #EDE6DB;
    padding-bottom: 10px;
}

.modal-header .modal-title {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #6A8E7F;
}

.modal-header .btn-close {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    color: #D68050;
}

.modal-header .btn-close:hover {
    color: #F4A259;
}

.modal-body {
    padding-top: 10px;
}

.modal-body .form-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: #6A8E7F;
}

.modal-body .form-control {
    background: #EDE6DB;
    border: 1px solid #8FC0A9;
    border-radius: 8px;
    padding: 10px;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    color: #495057;
}

.modal-body .form-control:focus {
    border-color: #F4A259;
    box-shadow: 0 0 5px rgba(244, 162, 89, 0.5);
    outline: none;
}

.modal-body .btn-success {
    background-color: #8FC0A9;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    color: white;
    font-family: 'Playfair Display', serif;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-body .btn-success:hover {
    background-color: #6A8E7F;
}

.modal-footer {
    border-top: 1px solid #EDE6DB;
    padding-top: 10px;
    text-align: right;
}

/* Contenedor para alinear el título y los botones */
#courseTabsContainer {
    display: flex;
    align-items: center; /* Alinear verticalmente el texto y los botones */
    gap: 15px; /* Espaciado entre el texto y los botones */
    margin-bottom: 20px;
}

/* Estilo para el texto */
#courseTabsContainer h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #6A8E7F;
    margin: 0; /* Elimina el margen para un alineado limpio */
}

/* Estilo para el contenedor de botones */
#courseTabs {
    display: flex;
    gap: 10px; /* Espaciado entre los botones */
}

/*Estilos datatable*/

/* Estilo general de la DataTable */
        .table-container {
            margin-top: 30px;
            max-width: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            background: #FFFFFF;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        table th, table td {
            padding: 12px;
            text-align: left;
            border-bottom: 1px solid #EDE6DB;
        }

        table th {
            background-color: #8FC0A9;
            color: white;
            font-weight: bold;
        }

        table tr:last-child td {
            border-bottom: none;
        }

.dataTables_wrapper {
    font-family: 'Playfair Display', serif;
    color: #6A8E7F;
}

/* Estilo para las cabeceras */
.dataTables_wrapper thead th {
    background-color: #8FC0A9;
    color: white;
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #EDE6DB;
}

/* Estilo para las filas */
.dataTables_wrapper tbody tr {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EDE6DB;
}

.dataTables_wrapper tbody tr:nth-child(even) {
    background-color: #F9F9F9;
}

.dataTables_wrapper tbody td {
    font-size: 16px;
    padding: 10px;
    color: #495057;
}

/* Estilo para filas en hover */
.dataTables_wrapper tbody tr:hover {
    background-color: #F4A259;
    color: white;
}

/* Estilo para el paginador */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #EDE6DB;
    border: none;
    border-radius: 5px;
    color: #6A8E7F;
    font-size: 14px;
    padding: 5px 10px;
    margin: 0 2px;
    cursor: pointer;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #D68050;
    color: white;
}

/* Estilo para el buscador */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #8FC0A9;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    color: #495057;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #F4A259;
    box-shadow: 0 0 5px rgba(244, 162, 89, 0.5);
}

/* Estilo para la información de la tabla */
.dataTables_wrapper .dataTables_info {
    font-size: 11px;
    color: #6A8E7F;
    margin-top: 10px;
}

/* Estilo para la tabla al 100% del ancho */
.dataTables_wrapper .dataTables_scrollBody {
    border: 1px solid #EDE6DB;
    border-radius: 5px;
}

/*Modal*/

/* Estilo para el select */
.modal-body select.form-control {
    padding: 8px; /* Reduce el padding interno */
    font-size: 1rem; /* Ajusta el tamaño de la fuente */
    height: auto; /* Permite que la altura se ajuste al contenido */
    line-height: normal; /* Asegura que el texto no se corte */
    border: 1px solid #8FC0A9; /* Borde consistente con el diseño */
    border-radius: 8px; /* Bordes redondeados */
}

/* Solución adicional para navegadores específicos como Chrome */
.modal-body select.form-control::-ms-expand {
    display: none; /* Oculta el ícono adicional en Edge/IE */
}

/* Opcional: Ajustar el ancho si el texto sigue cortándose */
.modal-body select.form-control {
    width: 100%; /* O ajusta según necesites */
    max-width: 100%; /* Evita que se exceda */
    box-sizing: border-box; /* Incluye el padding y el borde en el ancho total */
}


/*Estilo grilla para datatable*/

/* Estilo general de la tabla */
.dataTables_wrapper {
    font-family: 'Playfair Display', serif;
    font-size: 12px;
    color: #6A8E7F;
    margin-top: 20px;
}

/* Bordes estilo grilla */
.dataTables_wrapper table {
    border-collapse: collapse;
    width: 100%;
    border: 1px solid #8FC0A9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Bordes internos para las celdas */
.dataTables_wrapper table td,
.dataTables_wrapper table th {
    border: 1px solid #EDE6DB;
    padding: 10px;
    text-align: center; /* Centra el texto dentro de las celdas */
}

/* Fondo alternado para filas */
.dataTables_wrapper tbody tr:nth-child(odd) {
    background-color: #F9F9F9;
}

.dataTables_wrapper tbody tr:nth-child(even) {
    background-color: #FFFFFF;
}


/* Cabecera de la tabla */
.dataTables_wrapper thead th {
    background-color: #8FC0A9;
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Contenido editable */
.dataTables_wrapper tbody td[contenteditable="true"] {
    background-color: #FFFBEA; /* Fondo suave para celdas editables */
    border: 1px dashed #F4A259;
}

/* Estilo de paginación */
.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: #EDE6DB;
    border: none;
    border-radius: 5px;
    color: #6A8E7F;
    font-size: 14px;
    padding: 5px 10px;
    margin: 0 2px;
    cursor: pointer;
}


/* Cuadro de búsqueda */
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #8FC0A9;
    border-radius: 5px;
    padding: 5px;
    font-size: 14px;
    color: #495057;
}

.dataTables_wrapper .dataTables_filter input:focus {
    outline: none;
    border-color: #F4A259;
    box-shadow: 0 0 5px rgba(244, 162, 89, 0.5);
}

/* Información de la tabla */
.dataTables_wrapper .dataTables_info {
    font-size: 12px;
    color: #6A8E7F;
    margin-top: 10px;
}

/*Responsive*/

/* Ajustes generales para pantallas pequeñas */
@media screen and (max-width: 768px) {
    /* Contenedor principal */
    .container {
        padding: 10px;
    }

    /* Título Gradebook */
    #gradebookTitle {
        font-size: 1.8rem;
        text-align: center;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navbar h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .navbar .actions {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    /* Course Tabs */
    #courseTabsContainer {
        flex-direction: column;
        align-items: flex-start;
    }

    #courseTabs {
        flex-wrap: wrap;
    }

    .course-tab {
        margin-bottom: 5px;
        font-size: 0.9rem;
    }

    /* DataTable */
    .dataTables_wrapper {
        font-size: 11px;
    }

    .dataTables_wrapper table {
        font-size: 10px;
        overflow-x: auto; /* Habilita el scroll horizontal si es necesario */
    }

    /* Agenda */
    .agenda h3 {
        font-size: 1.5rem;
        text-align: center;
    }

    .agenda #calendar {
        width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }

    /* Botón Agregar Nuevo Alumno */
    .btn-primary {
        width: 100%; /* Botón ocupa todo el ancho */
        font-size: 0.9rem;
        padding: 10px;
    }

    /* Footer */
    .footer {
        font-size: 0.9rem;
        text-align: center;
    }
}

/* Ajustes específicos para pantallas muy pequeñas (teléfonos antiguos) */
@media screen and (max-width: 480px) {
    .navbar h1 {
        font-size: 1.2rem;
    }

    #gradebookTitle {
        font-size: 1.5rem;
    }

    .btn-primary {
        font-size: 0.8rem;
    }

    .course-tab {
        font-size: 0.8rem;
    }

    .dataTables_wrapper table {
        font-size: 9px;
    }
}

/*nav*/
/* Contenedor del encabezado */
#headerContainer {
    display: flex; /* Alinea los elementos en una fila */
    align-items: center; /* Centra verticalmente los elementos */
    gap: 10px; /* Espaciado entre la imagen y el texto */
}

/* Imagen del perfil */
#headerContainer img {
    height: 50px; /* Altura fija para la imagen */
    width: auto; /* Mantiene la proporción de la imagen */
    margin: 0; /* Elimina margen adicional */
}

/* Estilo del encabezado */
#headerContainer h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem; /* Tamaño del texto */
    color: #ffffff; /* Color del texto (asegúrate de usar un fondo oscuro si es necesario) */
    margin: 0; /* Elimina margen adicional */
}

/*paleta colores*/
.color-button {
    cursor: pointer;
    border-radius: 5px;
    margin-right: 5px;
}

.header-container {
    display: flex;
    justify-content: space-between; /* Espaciado uniforme entre los elementos */
    align-items: center; /* Centrar verticalmente */
    padding: 10px 20px; /* Espaciado interno */
    background-color: #f9f1f7; /* Fondo suave, femenino */
    border-radius: 12px; /* Bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    margin-bottom: 10px;
}

.header-container h4 {
    margin: 0;
    font-size: 1.2rem; /* Ajusta el tamaño del texto */
    color: #d23669; /* Color femenino y vibrante */
    font-weight: bold;
    text-transform: capitalize; /* Capitaliza el nombre del usuario */
    font-family: 'Arial', sans-serif; /* Fuente moderna */
}

.btn-primary_dashboard {
    background-color: #ff85a2; /* Rosa suave */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 5px 15px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-primary_dashboard:hover {
    background-color: #ff5a7e; /* Más vibrante al pasar el mouse */
}

.btn-danger {
    border-radius: 8px; /* Coincide con el estilo del botón de dashboard */
    padding: 5px 15px;
}

/*CSS para la sección de archivos*/

/* Contenedor principal de los archivos */
#file-preview {
    margin-top: 20px;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Contenedor de cada archivo */
#file-preview .col-md-4 {
    margin-bottom: 20px;
}

/* Contenedor del ícono o vista previa */
.icon-container {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0 auto;
}

/* Nombre del archivo */
#file-preview p {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #555;
    word-wrap: break-word;
    text-align: center;
    margin: 10px 0 0;
}

/* Nombre del archivo (efecto hover) */
#file-preview p:hover {
    color: #d23669;
    font-weight: 700;
    text-decoration: underline;
}

/* Botones de acciones (Descargar y Eliminar) */
#file-preview .btn {
    border-radius: 8px;
    font-size: 0.9rem;
    padding: 5px 15px;
    transition: all 0.3s ease-in-out;
}

#file-preview .btn-success {
    background-color: #4caf50;
    color: #fff;
    border: none;
}

#file-preview .btn-success:hover {
    background-color: #45a049;
}

#file-preview .btn-danger {
    background-color: #f44336;
    color: #fff;
    border: none;
}

#file-preview .btn-danger:hover {
    background-color: #e53935;
}

/* Contenedor del texto del nombre del archivo */
#file-preview p {
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: #555;
    text-align: center; /* Centra el texto horizontalmente */
    margin: 10px 0 0; /* Asegura espaciado uniforme */
    word-wrap: break-word; /* Permite que el texto se ajuste dentro del contenedor */
    overflow: hidden; /* Oculta el texto que sobresale si es muy largo */
    text-overflow: ellipsis; /* Muestra puntos suspensivos si el texto es demasiado largo */
    max-width: 100%; /* Asegura que no se desborde */
}

/* Contenedor principal del archivo */
.icon-container {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    flex-direction: column; /* Asegura que el ícono y el texto estén en columna */
}

/*CSS para el campo de comentario arriba de cada imagen */

.comment-box {
    margin-bottom: 10px;
    resize: none;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    color: #555;
    width: 100%;
}
.comment-box:focus {
    border-color: #d23669;
    box-shadow: 0 0 4px rgba(210, 54, 105, 0.5);
    outline: none;
}

.text-muted {
    font-size: 0.9rem;
    color: #6c757d; /* Color gris apagado */
    font-style: italic;
}

    .fc-event.holiday-event {
        background-color: #ff6961 !important; /* Rojo claro */
        color: black !important; /* Negro para la fuente */
        font-weight: bold;
    }

  /* Reducir el tamaño de la fuente de los días del mes */
  .fc-daygrid-day-number {
    font-size: 0.85rem; /* Cambia este valor según lo necesites */
    color: black;
  }

  /* Reducir el tamaño de las cabeceras (días de la semana) */
  .fc-col-header-cell {
    font-size: 0.9rem; /* Cambia este valor según lo necesites */
  }

    .mdi {
        font-size: 1.2rem;
        margin: 0 5px;
        transition: color 0.2s ease;
    }
    .mdi:hover {
        color: #007bff; /* Azul para hover */
    }
    .text-warning:hover {
        color: #ffc107; /* Amarillo para hover en editar */
    }
    .text-danger:hover {
        color: #dc3545; /* Rojo para hover en eliminar */
    }


/*    Boton excel */
/* Botón minimalista */
.btn-export-excel {
    background-color: #28a745; /* Color verde */
    color: white;
    border: none;
    padding: 2px 2px;
    font-size: 12px;
    border-radius: 5px; /* Bordes redondeados */
    transition: all 0.3s ease-in-out;
    height: 35px;
}

/* Hover efecto */
.btn-export-excel:hover {
    background-color: #218838; /* Verde más oscuro */
    color: white;
}

/* Ajuste de margen con "Show entries" */
div.dataTables_length {
    margin-right: 10px;
}

/* Centrar mejor los elementos */
div.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.container_dashboard {
    min-height: calc(100vh - 80px); /* Ajusta la altura del contenedor */
    padding-bottom: 20px; /* Espacio antes del footer */
}

/*Evita que se sobresalga el texto del evento en calendar*/
.fc-event-title,
.fc-event-time {
    white-space: normal !important;   /* permite saltos de línea */
    overflow: hidden;                 /* oculta contenido extra si se desborda */
    word-break: break-word;          /* permite cortar palabras largas */
    display: block;
    font-size: 0.75rem;               /* puedes ajustar según necesidad */
    line-height: 1.2;
}

.fc-event {
    padding: 2px 4px;
    font-size: 0.75rem;
    line-height: 1.2;
    height: auto !important;
    white-space: normal;
}
