.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  .modal-content {
    margin: 0 auto;
    display: block;
    width: 80%;
    height: 100%;
  }
  
  .close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }
  
  .notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4CAF50;
    color: white;
    padding: 15px 20px;
    border-radius: 5px;
    z-index: 1000;
  }
  
  .course-card img {
    width: 100%;
    height: auto;
  }
  
  .course-card h5 {
    margin-top: 10px;
    text-align: center;
  }
  

  body {
    font-family: Arial, sans-serif;
  }
  .swiper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }
  .review-item {
    text-align: center;
    padding: 20px;
  }
  blockquote {
    font-size: 1.5em;
    font-style: italic;
    margin: 20px auto;
    color: #333;
  }
  .rating {
    margin-top: 10px;
    font-size: 1.2em;
    color: #FFD700; /* Color dorado para las estrellas */
  }
  .name {
    font-weight: bold;
    margin-top: 10px;
    font-size: 1.1em;
    color: #333;
  }
  .swiper-pagination {
    margin-top: 20px; /* Baja los botones de paginación */
  }
  .swiper-pagination-bullet {
    background: #000;
    opacity: 0.6;
  }
  .swiper-pagination-bullet-active {
    background: #007bff; /* Azul para el punto activo */
    opacity: 1;
  }


 /* Estilo de la notificación */
 #dropdownNotification {
    background-color: #28a745; /* Verde */
    animation: fadeInOut 4s infinite;
    color: white;
    font-weight: bold;
    border-radius: 8px;
  }

  /* Animación para la notificación */
  @keyframes fadeInOut {
    0%, 100% {
      opacity: 0;
    }
    50% {
      opacity: 1;
    }
  }


 /* CSS DE EDITAR PERFIL */

 .custom-body {
    background-image: url('home/images/EDIFICIO_TESCHI.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.btn-rounded {
    border-radius: 50px;
}
.form-container {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 15px;
}
.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.title-container h2 {
    margin: 0;
}
.title-container .btn {
    position: absolute;
    left: 0;
}
.form-label[title]:hover::after {
    content: attr(title);
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    top: 100%;
    left: 0;
    white-space: nowrap;
    z-index: 1;
}


.custom-text {
    text-align: center; /* Centra el texto */
    font-weight: bold; /* Pone el texto en negritas */
    color: #6c757d; /* Similar al color "text-muted" */
}


 /* CSS DE MIS CURSOS */
 
 /* Contenedor general */
.mis-cursos-container {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 50px auto; /* Centrar todo el contenedor horizontalmente */
}

/* Centrar el título "Mis Cursos" */
.mis-cursos-header {
    text-align: center; /* Centrar horizontalmente */
    font-size: 2rem; /* Tamaño grande */
    font-weight: bold;
    color: #333;
    margin-bottom: 20px; /* Separar del contenido */
}

/* Tabla */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th,
table td {
    text-align: left;
    padding: 10px;
    border: 1px solid #ddd;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

table tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tr:hover {
    background-color: #f1f1f1;
}

/* Botones dentro de las tablas */
.btn {
    padding: 8px 12px;
    font-size: 0.9rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
    border: none;
}

.btn-success:hover {
    background-color: #218838;
}

.btn-danger {
    background-color: #dc3545;
    color: #fff;
    border: none;
}

.btn-danger:hover {
    background-color: #c82333;
}

/* Botón "Regresar" centrado */
.mis-cursos-btn-regresar {
    display: block; /* Hacer que ocupe toda la línea */
    background-color: #28a745; /* Verde brillante */
    color: white;
    text-align: center; /* Centrar el texto */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    margin: 20px auto; /* Centrar el botón horizontalmente */
    max-width: 200px; /* Ancho máximo del botón */
}

.mis-cursos-btn-regresar:hover {
    background-color: #218838; /* Verde más oscuro al pasar el ratón */
}


 /* CSS DE INSCRIPCIÓN */
 

.inscripcion-body {
    background-color: #f0f2f5;
    font-family: 'Arial', sans-serif;
    color: #333;
}

.inscripcion-body .container {
    max-width: 650px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.inscripcion-body .card {
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.inscripcion-body .modal-title {
    font-size: 1.5rem;
    color: #444;
    font-weight: 700;
}

.inscripcion-body .form-label {
    font-weight: 600;
    color: #555;
}

.inscripcion-body .form-control,
.inscripcion-body .btn,
.inscripcion-body select {
    border-radius: 10px;
    font-size: 0.95rem;
}

.inscripcion-body .btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

.inscripcion-body .btn-primary:hover {
    background-color: #0056b3;
}

.inscripcion-body .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

.inscripcion-body .btn-secondary:hover {
    background-color: #545b62;
}

.inscripcion-body .btn-warning {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
    padding: 10px 18px;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

.inscripcion-body .btn-warning:hover {
    background-color: #218838;
}

.inscripcion-body #disponibilidadContainer {
    display: none;
    margin-top: 10px;
    border-left: 4px solid #007bff;
    padding-left: 15px;
    font-weight: 600;
    color: #007bff;
    background-color: #e9f7ff;
    border-radius: 10px;
}

.inscripcion-body .alert-pdf {
    font-size: 0.85rem;
}

.inscripcion-body .mb-3 {
    margin-bottom: 20px;
}

.inscripcion-body .d-flex {
    gap: 10px;
}

.inscripcion-body .text-center a {
    display: block;
    margin-top: 20px;
}

/* Añadir transición a elementos */
.inscripcion-body .form-control,
.inscripcion-body select {
    transition: border-color 0.3s;
}

.inscripcion-body .form-control:focus,
.inscripcion-body select:focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.25);
}


 /* CSS DE ENCUESTA */


 .body_encuesta {
    font-family: 'Arial', sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    display: flex; /* Activa flexbox */
    justify-content: center; /* Centra horizontalmente */
    align-items: flex-start; /* Alinea el contenido hacia la parte superior */
    min-height: 100vh; /* Ocupa al menos toda la altura de la pantalla */
    padding-top: 50px; /* Espacio adicional arriba */
}

.container_encuesta {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin-bottom: 50px; /* Espacio inferior para evitar que quede pegado */
}

.btn-regresar {
    background-color: green;
    color: white;
    border-radius: 15px;
    padding: 5px 15px;
    text-decoration: none; /* Quita el subrayado si es un enlace */
}

.btn-descargar {
    background-color: green;
    color: white;
    border-radius: 15px;
    padding: 5px 15px;
    text-decoration: none;
}


 /* CSS DE VERIFICAR */



.body_verificar {
    margin: 0;
    padding: 0;
    background-image: url('../Views/home/images/EDIFICIO_TESCHI.jpg'); /* Imagen de fondo de la página */
    background-size: cover; /* Ajustar el tamaño de la imagen */
    background-position: center; /* Centrar la imagen */
    background-attachment: fixed; /* Fijar la imagen de fondo */
    font-family: Arial, sans-serif;
}

.container_verificar {
    max-width: 600px;
    margin-top: 50px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.5); /* Fondo blanco muy transparente */
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.1); /* Borde sutil */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: none; /* Sin sombra en la tarjeta */
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #343a40;
}

.card-text {
    font-size: 1rem;
    color: #495057;
}



 /* CSS DE INDEX DE DASHBOARD */



 /* Estilo principal del body */
 .body_dash {
    background-color: #ffffff !important;
    margin: 0;
    padding: 0;
}

/* Ajusta el contenedor principal */
.container_dash {
    margin-left: 50px; /* Deja espacio para el sidebar */
    min-height: 100vh;
    background: #ffffff !important;
    padding-top: 80px; /* Ajusta el espacio debajo de la barra superior */
    transition: 0.5s;
}

/* Barra superior */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px; /* Altura fija de la barra superior */
    background-color: #f5f7f6; /* Color de fondo */
    z-index: 1000; /* Asegura que esté sobre otros elementos */
    border-bottom: 1px solid #ddd; /* Línea divisoria */
    display: flex;
    align-items: center; /* Centra los elementos verticalmente */
    padding: 0 15px;
}

/* Ajustes para el sidebar */
.sidebar {
    position: fixed;
    top: 70px; /* Deja espacio para la barra superior */
    left: 0;
    bottom: 0;
    width: 250px;
    height: calc(100vh - 70px); /* Ajusta la altura para restar el navbar */
    overflow-y: auto;
    background-color: #ffffff;
    transition: 0.5s;
    z-index: 999;
}

/* Logo del sidebar */
.sidebar .navbar-brand img {
    display: block;
    margin: 10px auto;
    max-width: 90%;
    height: auto;
}

/* Contenedor de gráficas */
.container-fluid {
    padding: 10px 20px;
}

/* Gráficas */
.chart-container {
    height: 200px;
    border: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

.card {
    max-width: 100%;
    border: none;
    margin-bottom: 20px;
}

/* Ajustes para filas y columnas */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-md-6 {
    flex: 0 0 48%;
    max-width: 48%;
}

@media (max-width: 768px) {
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Estilo del usuario */
.user-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.user-info h6 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
    text-align: center;
}

.user-info span {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background-color: #e9ecef;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    display: inline-block;
}

/* Ajustar scroll en el sidebar */
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

/* Espaciado de los ítems */
.nav-item.nav-link.active {
    background-color: #e9ecef;
    color: #007bff;
    font-weight: bold;
    border-left: 4px solid #007bff;
}

.nav-item.nav-link.active img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(92%) saturate(2974%) 
    hue-rotate(199deg) brightness(95%) contrast(101%);
}
