/* Premium Theme for Control de Activos */

:root {
    --primary-premium: #1e293b; /* Slate 800 */
    --accent-premium: #3b82f6;  /* Blue 500 */
    --bg-premium: #f8fafc;      /* Slate 50 */
    --sidebar-premium: #0f172a; /* Slate 900 */
}

/* Rounded Cards and Soft Shadows */
.card {
    border-radius: 12px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    padding: 1.25rem 1.5rem !important;
}

/* Premium Sidebar */
.main-sidebar {
    background-color: var(--sidebar-premium) !important;
}

.nav-sidebar .nav-link.active {
    background-color: rgba(59, 130, 246, 0.1) !important;
    color: #fff !important;
    border-left: 3px solid var(--accent-premium);
}

.nav-sidebar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Sidebar Footer Badge */
.sidebar-footer-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    margin: 20px 15px;
    position: absolute;
    bottom: 0;
    width: calc(100% - 30px);
}

/* Topbar Search - Centered */
.navbar-nav:has(#main-search-bar) {
    flex: 1;
    justify-content: center;
}

#main-search-bar {
    width: 100%;
    max-width: 600px;
}

.navbar-search-block .form-control-navbar {
    background-color: #f1f5f9 !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 10px 20px 10px 45px !important;
    font-size: 0.9rem;
    height: 40px !important;
}

.navbar-search-block .btn-navbar {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b !important;
    z-index: 5;
    background: transparent !important;
}

/* User Profile in Topbar */
.navbar-nav.ml-auto {
    align-items: center;
}

.user-menu .user-image {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}
