/* febrero 23 -2026 VISTA CREAR DOCENTE */

/* cambios Alejandro febrero 2026 - tarjeta para envolver toda la tabla, y hacerlo mas moderno, se ajusta tanto en pc como en telefono */
.form-card {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

/* para dividir el formulario */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.form-section h3 {
    margin-bottom: 15px;
    color: #333;
}

/* trasladada */
/* elementos mas limpios */
.content-form-cr input,
select {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

/* trasladada */

.content-form-cr label {
    font-weight: 600;
}

/* botones */
/* trasladada */

.content-form-cr button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/* estilos para el formulario completo para ordenarlo y hacerlo mas legible */
.form-field {
    margin-bottom: 18px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
}

.form-field input:not([type="radio"]),
.form-field select {
    width: 99%;
}


.form-field span {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}

/* raduis e inputs */
.form-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .form-two-cols {
        grid-template-columns: 1fr;
    }
}

.radio-group {
    display: flex;
    gap: 30px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    cursor: pointer;
}

.form-field label {
    color: red;
}

.form-field strong {
    color: black;
}

.lb-black {
    color: black !important;
}

.fotoDocentem {
    width: 180px;
    height: 200px;
    overflow: hidden;
}

.fotoDocentem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* fin cambios */




/* febrero 2025 para las cards de admindocentes1 */
.card-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 240px;
    height: 38px;
    margin-top: 8px;

    background-color: #4f79b6;
    /*azul*/
    color: #ffffff;

    text-decoration: none;
    border-radius: 6px;

    font-size: 13px;
    font-weight: 600;

    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;

    user-select: none;
}

.btndocenterepor {
    background-color: #5F7F91;
    /*azul*/
}

/* hover */
.card-link-btn:hover {
    background-color: #3f669e;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* click */
.card-link-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}


.card-link-btn:visited {
    color: #ffffff;
}

.card-link-btn:focus {
    outline: none;
}

.card-link-btn {
    color: #ffffff !important;
}


/* marzo de 2026 nuevo background */
.background-color-green1 {
    background-color: #3c7b00;
    text-decoration: none;
    color: inherit;
    color: white;
}









/* febrero 2026, vista para reasignar cursos */
.reasig-wrap {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* ---------- HEADER DOCENTE ---------- */

.reasig-docente {
    background: #f2f4f7;
    border: 1px solid #d6d9dd;
    border-radius: 6px;
    padding: 15px 20px;
    margin-bottom: 5px;
}

.reasig-docente-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.reasig-nombre {
    font-size: 18px;
    font-weight: bold;
    color: #1f2933;
}

.reasig-estado {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    background: #e1e6eb;
    color: #374151;
}

/* ---------- TABLA ---------- */

.reasig-tabla-wrap {
    position: relative;
    background: #ffffff;
    border: 1px solid #dcdfe3;
    border-radius: 6px;
    height: 90%;
    overflow-x: auto;

}

.reasig-tabla thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: #e9edf2;

}

.reasig-tabla {
    width: 100%;
    border-collapse: collapse;
    min-width: 850px;
}

.reasig-tabla thead tr {
    background: #e9edf2;
}

.reasig-tabla th {
    padding: 12px 10px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #1f2933;
    border-bottom: 1px solid #cfd5db;
}

.reasig-tabla td {
    padding: 10px;
    font-size: 13px;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

/* Hover fila */
.reasig-tabla tbody tr.fila-reasignada,
.reasig-tabla tbody tr.fila-reasignada:hover {
    background-color: #747a88;
}


/* ---------- SELECT DOCENTE ---------- */

.reasig-select-docente {
    width: 100%;
    min-width: 180px;
    padding: 6px 8px;
    font-size: 13px;
    border: 1px solid #cbd5df;
    border-radius: 4px;
    background-color: #ffffff;
    color: #1f2933;
    cursor: pointer;
}

.reasig-select-docente:hover {
    border-color: #94a3b8;
}

.reasig-select-docente:focus {
    outline: none;
    border-color: #64748b;
    background-color: #f9fafb;
}

/* ---------- BOTON ---------- */

.reasig-btn {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    background-color: #64748b;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.reasig-btn:hover {
    background-color: #475569;
}

.reasig-btn2 {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #383838;
    background-color: #ffffff !important;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.reasig-btn2:hover {
    background-color: #9abceb;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 768px) {
    .reasig-docente-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .reasig-nombre {
        font-size: 16px;
    }
}

.nmcurso {
    color: black !important;
    font-size: 14px !important;
    font-weight: bold !important;
}


/* ===== MODAL REASIGNACIN DOCENTE ===== */

.reasig-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.reasig-modal-overlay.activo {
    display: flex;
}

.reasig-modal {
    background: #ffffff;
    width: 420px;
    max-width: 90%;
    border-radius: 8px;
    padding: 20px 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    animation: reasigFadeIn 0.25s ease;
}

@keyframes reasigFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reasig-modal-titulo {
    margin: 0 0 12px;
    font-size: 18px;
    color: #1f2933;
}

.reasig-modal-texto {
    font-size: 14px;
    color: #a70000;
    line-height: 1.5;
    margin-bottom: 12px;
}

.reasig-modal-info {
    background: #f3f4f6;
    border-left: 4px solid #6b7280;
    padding: 10px;
    font-size: 13px;
    color: #111827;
    margin-bottom: 18px;
}

.reasig-modal-acciones {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.reasig-btn-cancelar {
    background: #676768;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.reasig-btn-cancelar:hover {
    background: #818185;
    color: black;
}

.reasig-btn-confirmar {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.reasig-btn-confirmar:hover {
    background: #1d4ed8;
}

.fila-reasignada {
    background-color: #747a88;
    color: #cfd0d1;
    opacity: 0.85;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

/* por si la fila hover */
.fila-reasignada:hover {
    background-color: #747a88;
}



/* fin vista reasignar cursos */

/* vista de modificar */
/* CONTENEDOR GENERAL */
.perfil-wrappermod {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

/* TARJETA CENTRAL */
.perfil-cardmod {
    width: 100%;
    max-width: 820px;
    background: #fff;
    border-radius: 10px;
    padding: 25px 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.perfil-cardmod table {
    width: 100%;
}

.perfil-cardmod .espacios-80,
.perfil-cardmod .espacios-100 {
    height: 30px;
}

/* Inputs un poco mas compactos */
.perfil-cardmod input,
.perfil-cardmod select {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
}

/* fin vista modificar */


/* vista asignacion cursos */
#formFiltroAsignacion {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* toast */

#toastContainer {
    position: fixed;
    top: 240px;
    left: 50%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    min-width: 250px;
    max-width: 350px;
    padding: 12px 16px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.3s ease;
    opacity: 0.95;
}

.toast-info {
    background: #5c6f82;
}

.toast-success {
    background: #28a745;
}

.toast-error {
    background: #dc3545;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}


.select-asignar {
    border-radius: 10px;
    background: #adbccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.select-asignar:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.select-asignar label {
    font-weight: 600;
    color: #3d556b;
}

.select-asignar select {
    border: 2px solid #4f6d8a;
    font-weight: 500;
}


/* fin vista asignacion cursos */



/* vista archivos personales estudiante */

.contenedor-archivos {
    width: 100%;
    max-width: 700px;
    margin: auto;
    font-family: Arial, sans-serif;
}

.carpeta {
    margin-bottom: 20px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    background: #f8f9fb;
}

.carpeta-titulo {
    padding: 10px;
    background: #1c2531;
    color: white;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
}

.lista-archivos {
    padding: 10px;
}

.lista-archivos a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: background 0.2s;
}

.lista-archivos a:hover {
    background: #e8edf5;
}



/* tabla de vista de lista de estudiantes */


/* marzo de 2026 */

/* tabla nueva */

.table-moderna {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

/* encabezado */
.table-moderna thead {
    background: #f4f6f8;
}

.table-moderna thead th {
    text-align: left;
    padding: 12px 14px;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #e5e7eb;
}

/* celdas */
.table-moderna td {
    padding: 10px 14px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

/* filas */
.table-moderna tbody tr {
    transition: background 0.15s ease;
}

.table-moderna tbody tr:hover {
    background: #eaf2ff !important;
}

.table-moderna tbody tr:last-child td {
    border-bottom: none;
}

.table-moderna tbody tr:nth-child(even) {
    background: #f7f9fc;
}

.head-table {
    font-size: 18px;
    background-color: #1c2531;
    color: white;
    height: 44px;
}

.head-table:hover {
    background: #1c2531 !important;
}



/*  */

/* MARZO 4 DE 2026 */


.separador-con-texto::before {
    content: "";
    flex: 1;
    border-top: 1px solid #ccc;
    margin-right: 10px;
    /* solo espacio hacia el texto */
}

.separador-con-texto::after {
    content: "";
    flex: 1;
    border-top: 1px solid #ccc;
    margin-left: 10px;
    /* solo espacio hacia el texto */
}

.tabla-sistema {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.tabla-sistema thead {
    background-color: #f4f6f9;
}

.tabla-sistema th {
    text-align: left;
    padding: 12px;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.tabla-sistema td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

.tabla-sistema tbody tr:hover {
    background-color: #f9fafb;
}

.tabla-sistema tbody tr:last-child td {
    border-bottom: none;
}

.contenedor-archivos {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
}


/* Columna vertical de botones */
.acciones-foto {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: 60px;
}

/* Botones */
.btn-accion-foto {
    padding: 8px 14px;
    background: #77b16a;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-accion-foto:hover {
    opacity: 0.85;
}

.btn-eliminar-foto {
    background: #c0392b;
}

.estudiante-foto {

    width: 120px;
    height: 100px;
    object-fit: cover;
    position: absolute;
    top: 2.3%;
    right: 120px;
    transform: translateY(-50%);
    border-radius: 10px;
    border: 1px solid black;
}

.pt-label {
    margin-top: 10px;
}

.pt-label label {
    margin-top: 10px;
    margin-right: 20px !important;
    margin-left: 10px !important;

}

.pt-label input {
    width: 200px;
}
