/* Copy the contents from the original styles.css */
@tailwind base;
@tailwind components;
@tailwind utilities;


/* ============================================ 
   GRADIENTES GLOBALES
   ============================================ */
.bg-gradient-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-header {
    background: linear-gradient(90deg, #4a90e2 0%, #7b68ee 100%);
}

.bg-gradient-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
}

.bg-gradient-progress {
    background: linear-gradient(90deg, #28a745, #20c997);
}

/* ============================================ 
   ESTILOS DE BOTONES GLOBALES
   ============================================ */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-right: 0.625rem;
    margin-bottom: 0.625rem;
    transform: translateY(0);
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.4);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-danger {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-danger:hover {
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-success {
    background: linear-gradient(45deg, #27ae60, #2ecc71);
    color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-success:hover {
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* Dark theme button borders for better separation */
.dark .btn {
    border-color: rgba(255, 255, 255, 0.18);
}

.dark .btn-danger,
.dark .btn-success {
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-small {
    padding: 6px 12px;
    font-size: 0.8em;
}

/* ============================================ 
   NAVEGACIÓN Y TABS
   ============================================ */
.nav-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #666;
}

.nav-tab:hover {
    background: #e9ecef;
}

.nav-tab.active {
    background: white;
    color: #4a90e2;
    border-bottom: 3px solid #4a90e2;
}

/* Navegación del header (enlace principal) */
.nav-link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    /* text-gray-600 */
    transition: color 0.2s ease, background-color 0.2s ease;
    display: inline-block;
}

.nav-link:hover {
    color: #111827;
    /* text-gray-900 */
    background-color: #f3f4f6;
    /* bg-gray-100 */
}

.nav-link.active {
    color: #4f46e5;
    /* indigo-600 */
    background-color: #eef2ff;
    /* indigo-50 */
    border-bottom: 2px solid #4f46e5;
}

.dark .nav-link {
    color: #d1d5db;
    /* gray-300 */
}

.dark .nav-link:hover {
    color: #ffffff;
    background-color: #374151;
    /* gray-700 */
}

.dark .nav-link.active {
    color: #a5b4fc;
    /* indigo-300 */
    background-color: rgba(79, 70, 229, 0.2);
    /* indigo-900/50 like */
    border-bottom-color: #a5b4fc;
}

/* Navegación del header en móvil */
.mobile-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 1rem;
    font-weight: 500;
    color: #4b5563;
    transition: color 0.2s ease, background-color 0.2s ease;
}


.px-2.pt-2.pb-3.space-y-1.sm\:px-3.bg-gray-50.dark\:bg-gray-700.border-t.border-gray-200.dark\:border-gray-600 {
    display: flex;
    align-items: center;
    text-align: center;
	justify-content: space-evenly;
}

