/* Trading Dashboard — Estilo moderno limpio */
* { font-family: 'Inter', system-ui, -apple-system, sans-serif; }

.card {
    background: white;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border: 1px solid #f1f5f9;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
    transition: all 0.15s;
    text-align: left;
}
.nav-item:hover { background: #f8fafc; color: #1e293b; }
.nav-active { background: #f1f5f9 !important; color: #0f172a !important; }

.btn-primary {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    background: #3b82f6;
    color: white;
    transition: all 0.15s;
}
.btn-primary:hover { background: #2563eb; }

.btn-success {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    background: #10b981;
    color: white;
    transition: all 0.15s;
}
.btn-success:hover { background: #059669; }

.btn-warning {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    background: #f59e0b;
    color: white;
    transition: all 0.15s;
}
.btn-warning:hover { background: #d97706; }

.btn-danger {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    background: #ef4444;
    color: white;
    transition: all 0.15s;
}
.btn-danger:hover { background: #dc2626; }

.btn-secondary {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    background: #f1f5f9;
    color: #475569;
    transition: all 0.15s;
}
.btn-secondary:hover { background: #e2e8f0; }

.input-field {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    outline: none;
    transition: border-color 0.15s;
}
.input-field:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1); }

/* Sidebar responsive */
@media (max-width: 1023px) {
    .sidebar-mobile {
        transform: translateX(-100%);
        transition: transform 0.2s ease;
    }
    .sidebar-open {
        transform: translateX(0) !important;
    }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
