@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

.gradient-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.border-blue-glow {
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

/* Estilos para el modal de edición */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
}

.modal-content {
    background-color: #1e293b;
    border-radius: 0.75rem;
    padding: 1.5rem;
    width: 24rem;
    border: 1px solid #475569;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Estilos para notificaciones */
.notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 50;
    transition: all 0.3s duration;
    transform: translateX(100%);
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background-color: #059669;
    color: white;
}

.notification.error {
    background-color: #dc2626;
    color: white;
}

.notification.warning {
    background-color: #d97706;
    color: white;
}

.notification.info {
    background-color: #2563eb;
    color: white;
}

/* Estilos para botones deshabilitados */
.btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilos para la tabla */
.table-container {
    overflow-x: auto;
}

.table-container table {
    width: 100%;
    font-size: 0.875rem;
}

.table-container th {
    text-align: left;
    padding: 0.5rem;
    color: #60a5fa;
    border-bottom: 1px solid #475569;
}

.table-container td {
    padding: 0.5rem;
    color: white;
    border-bottom: 1px solid #475569;
}

.table-container tr:hover {
    background-color: #475569;
}

/* Estilos para inputs y textareas */
.form-input {
    width: 100%;
    background-color: #334155;
    border: 1px solid #475569;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: white;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    width: 100%;
    background-color: #334155;
    border: 1px solid #475569;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    color: white;
    height: 5rem;
    resize: vertical;
}

.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Estilos para botones de acción */
.action-btn {
    color: #60a5fa;
    transition: color 0.2s;
}

.action-btn:hover {
    color: #93c5fd;
}

.action-btn.edit {
    margin-right: 0.5rem;
}

/* Estilos para el botón de descarga deshabilitado */
.btn-download-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Animación de carga */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
