/* yaWebs Agenda - Branding Global CSS */

:root {
    --brand-navy: #1e3a5f;      /* Azul oscuro principal */
    --brand-orange: #ff6b35;     /* Naranja vibrante */
    --brand-dark-blue: #0f2540;  /* Azul muy oscuro */
    --brand-light: #F8F7FA;
}

/* Sidebar con degradado de marca */
.sidebar { 
    width: 280px; 
    background: linear-gradient(180deg, var(--brand-dark-blue) 0%, var(--brand-navy) 100%); 
    color: white; 
    height: 100vh; 
    position: fixed;
    top: 0;
    left: 0;
    overflow-y: auto;
    box-shadow: 4px 0 16px rgba(30, 58, 95, 0.3);
    z-index: 1000;
}

.sidebar-logo {
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-item { 
    padding: 0.875rem 1.5rem; 
    cursor: pointer; 
    transition: all 0.3s; 
    display: flex; 
    align-items: center; 
    gap: 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    color: rgba(255,255,255,0.85);
    border-left: 4px solid transparent;
}

.nav-item:hover { 
    background: rgba(255,255,255,0.2);
    color: white;
    padding-left: 1.75rem;
}

.nav-item.active { 
    background: rgba(255,255,255,0.25);
    border-left: 4px solid white;
    color: white;
    font-weight: 600;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* Main Content */
.main-content { 
    margin-left: 280px; 
    min-height: 100vh; 
    background: #f5f7fa; 
}

/* Header con branding */
.page-header {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards con branding */
.kpi-card, .stat-card, .content-card { 
    background: white; 
    border-radius: 1rem; 
    padding: 1.5rem; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 3px solid var(--brand-orange);
    transition: all 0.3s;
}

.kpi-card:hover, .stat-card:hover, .content-card:hover {
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.15);
    transform: translateY(-2px);
}

.kpi-value, .stat-value { 
    font-size: 2rem; 
    font-weight: bold; 
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Botones con branding */
.btn-galia, .btn-primary {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

.btn-galia:hover, .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-galia:active, .btn-primary:active {
    transform: translateY(0);
}

.btn-galia:disabled, .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Inputs con branding */
.input-galia, input[type="text"], input[type="email"], input[type="password"], select, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.input-galia:focus, input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* Badges con branding */
.badge-priority-alta, .badge-high {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-priority-media, .badge-medium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-priority-baja, .badge-low {
    background: linear-gradient(135deg, var(--brand-orange) 0%, #e85a2a 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Status badges */
.badge-status-active, .badge-status-completado {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status-progress, .badge-status-en-progreso {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-status-pending, .badge-status-pendiente {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Tables con branding */
.table-header {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: var(--brand-navy);
    font-weight: 600;
}

.table-row:hover {
    background: rgba(255, 107, 53, 0.05);
}

/* Tabs con branding */
.tab-active {
    border-bottom: 3px solid var(--brand-orange);
    color: var(--brand-navy);
    font-weight: 600;
}

/* Modal con branding */
.modal-header {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 1rem 1rem 0 0;
}

/* Icons con branding */
.icon-galia {
    color: var(--brand-orange);
}

.icon-galia-purple {
    color: var(--brand-navy);
}

/* Progress bars */
.progress-bar {
    background: linear-gradient(90deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    height: 8px;
    border-radius: 9999px;
}

/* Links con branding */
a {
    color: var(--brand-orange);
    transition: color 0.3s;
}

a:hover {
    color: var(--brand-navy);
}

/* Kanban columns */
.kanban-column {
    background: white;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.kanban-column-header {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: var(--brand-navy);
    margin-bottom: 1rem;
}

/* Calendar events */
.calendar-event {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    color: white;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    margin: 0.125rem 0;
    cursor: pointer;
}

/* Toast notifications */
.toast-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.toast-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.toast-info {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-orange) 100%);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .main-content {
        margin-left: 0;
    }
}
