/**
 * public/assets/css/admin-recursos.css
 * Estilos específicos para la gestión de recursos.
 */

/* Las cards de esta sección son ligeramente diferentes para acomodar Grid */
.admin-card { 
    background: white; 
    border-radius: 12px; 
    padding: 25px; 
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.06);
    margin-bottom: 25px; 
    border: 1px solid #eef2f7; 
}

.resource-item { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 15px; 
    border-bottom: 1px solid #f1f5f9; 
    transition: background 0.2s;
}

.resource-item:hover {
    background: #f8fafc;
}

.resource-info { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

.resource-icon { 
    width: 40px; 
    height: 40px; 
    background: #f1f5f9; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #1B396A; 
}

.resource-name { 
    font-weight: 600; 
    color: #334155; 
    display: block; 
    font-size: 14px;
}

.resource-meta { 
    font-size: 11px; 
    color: #64748b; 
}

.btn-delete { 
    color: #ef4444; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 8px; 
    transition: 0.2s;
    border-radius: 50%;
}

.btn-delete:hover { 
    background: #fef2f2;
    color: #dc2626; 
}

.category-badge { 
    font-size: 10px; 
    padding: 2px 8px; 
    border-radius: 10px; 
    background: #1B396A; 
    color: white; 
    font-weight: 700; 
    text-transform: uppercase; 
}

.btn-save { 
    background: #1B396A; 
    color: white; 
    border-radius: 8px; 
    padding: 12px 25px; 
    border: none; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s; 
}

.btn-save:hover { 
    background: #152d53; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 12px rgba(27, 57, 106, 0.2);
}

/* ── STATUS TOASTS PREMIUM ── */
#statusMessage {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.status-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    background: white;
    font-weight: 600;
    min-width: 300px;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: toastSlideIn 0.5s ease-out;
}

.status-success {
    border-left: 6px solid #10b981;
    color: #065f46;
}

.status-success i {
    color: #10b981;
    font-size: 20px;
}

.status-danger {
    border-left: 6px solid #ef4444;
    color: #991b1b;
}

.status-danger i {
    color: #ef4444;
    font-size: 20px;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}
