/* ALERTS */
.alert {
    border-radius: 12px;
    border: none;
    backdrop-filter: blur(10px);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: #721c24;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* CONTACT INFO STYLES */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.contact-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4px 0;
}

.contact-item:not(:last-child) {
    border-bottom: 1px dashed #e9ecef;
}

/* DISCIPLINE LOGO Y STATUS LOGO*/
.discipline-logo, .status-logo {
    width: 30px;
    height: 30px;
    /*border-radius: 50%;*/
    object-fit: cover;
    /*border: 2px solid rgba(30, 111, 255, 0.2);*/
    background-color: rgba(0, 0, 0, 0);
    margin: 0 2px;
}

/* CODE LINK */
.code-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    padding: 4px 8px;
    border-radius: 6px;
}

.code-link:hover {
    color: var(--primary-dark);
    background: rgba(30, 111, 255, 0.1);
    text-decoration: none;
}

/* LOADING OVERLAY */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    border-radius: 18px;
    backdrop-filter: blur(5px);
}

/* STATUS CON LOGO INTEGRADO */
.status-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    min-width: 90px;
    max-width: 120px;
    /*border: 1px solid;*/
}

.status-logo-integrated{
    width: 20px;
    height: 20px;
    object-fit: cover;
    flex-shrink: 0;
}

/* DISCIPLINA CON LOGO INTEGRADO */
.discipline-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    min-width: 90px;
    max-width: 120px;
}

.discipline-logo-integrated {
    width: 24px;
    height: 24px;
    object-fit: cover;
    flex-shrink: 0;
}

.discipline-icon-integrated {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    flex-shrink: 0;
}

.discipline-icon-integrated i {
    font-size: 12px;
    color: #6c757d;
}

.discipline-name-integrated {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    min-width: 0;
}



/* ubicacion por ver */

/* Botones de acción en tabla */
.btn-group-sm .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.btn-quick-edit {
    border-color: #ffc107;
    color: #ffc107;
}

.btn-quick-edit:hover {
    background-color: #ffc107;
    color: #000;
}

/* Modal de edición rápida */
#quickEditModal .modal-body {
    padding: 1.5rem;
}

#quickEditModal .form-label {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

#quickEditModal .alert-info {
    font-size: 0.85rem;
    padding: 0.75rem;
    margin-bottom: 0;
}