/**
 * assets/css/admin-tutores.css
 * Estilos para la gestión masiva de tutores (Copy-Paste).
 */

.paste-container {
    margin-bottom: 25px;
}

.paste-area {
    width: 100%;
    min-height: 150px;
    padding: 20px;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    background: #f8fafc;
    color: #64748b;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: 0.3s;
    outline: none;
}

.paste-area:focus {
    border-color: var(--tecnm-azul-medio);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(27, 57, 106, 0.1);
}

/* Las reglas de la tarjeta de instrucciones se heredan de admin-common.css */

.preview-header-flex {
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.preview-title {
    font-size: 18px;
    font-weight: 700;
    color: #1B396A;
    margin: 0;
}

/* btn-clear-preview es estilizado con las clases comunes de botones */

/* Anchos mínimos de la vista previa (antes inline en <th>) */
.preview-table th:nth-child(1) { min-width: 100px; }
.preview-table th:nth-child(2) { min-width: 200px; }
.preview-table th:nth-child(3) { min-width: 180px; }
.preview-table th:nth-child(4) { min-width: 50px; text-align: center; }
.preview-table th:nth-child(5) { min-width: 90px; text-align: center; }
.preview-table th:nth-child(6) { min-width: 250px; }

#rowCount {
    font-weight: 700;
    color: var(--tecnm-azul-medio);
}

.status-message-spacing {
    margin-top: 20px;
}

.tutores-section-divider {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.tutores-section-header {
    margin-bottom: 30px;
}

.tutores-title-icon {
    color: var(--tecnm-azul-medio);
    margin-right: 10px;
}

.tutores-group {
    margin-bottom: 40px;
    width: 100%;
}

.tutores-group .categoria-heading {
    margin-bottom: 20px;
}

.tutores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .tutores-grid {
        grid-template-columns: 1fr;
    }
}

.preview-table-container {
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.preview-table th {
    background: #f1f5f9;
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.preview-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    white-space: nowrap;
}

.status-ok { background: #dcfce7; color: #166534; }
.status-warn { background: #fef9c3; color: #854d0e; }

.action-bar-sticky {
    background: #fff;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Los estilos de los botones se heredan de admin-common.css */
