/* Qovex Theme Inspired Styles */
:root {
    --bg-color: #f8f8fb;
    --sidebar-bg: #2a3042;
    --sidebar-item-color: #a6b0cf;
    --sidebar-item-active: #ffffff;
    --topbar-bg: #ffffff;
    --primary-color: #556ee6;
    --text-color: #495057;
    --card-bg: #ffffff;
    --border-color: #f1f5f7;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', 'Roboto', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* Sidebar Wrapper */
#layout-wrapper {
    display: flex;
    width: 100%;
    height: 100vh;
}

/* Sidebar */
.vertical-menu {
    width: 250px;
    background: var(--sidebar-bg);
    bottom: 0;
    margin-top: 0;
    position: fixed;
    top: 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    z-index: 1001;
    transition: all 0.3s ease;
}

.vertical-menu .navbar-brand {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 10px;
}

.sidebar-menu li a {
    display: block;
    padding: 15px 25px;
    color: var(--sidebar-item-color);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s;
}

.sidebar-menu li a i {
    width: 25px;
    font-size: 16px;
    text-align: center;
    margin-right: 8px;
}

.sidebar-menu li a:hover, .sidebar-menu li a.active {
    color: var(--sidebar-item-active);
    background: rgba(255, 255, 255, 0.05);
}

/* Main Content */
.main-content {
    margin-left: 250px;
    overflow: hidden;
    width: calc(100% - 250px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.page-topbar {
    background: var(--topbar-bg);
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03);
    z-index: 1000;
}

.page-content {
    padding: 24px;
    flex-grow: 1;
    overflow-y: auto;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 0.75rem 1.5rem rgba(18,38,63,.03);
    margin-bottom: 24px;
    border-radius: 0.25rem;
}

.card-body {
    padding: 1.5rem;
}

/* Login Page */
.account-pages {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8fb;
}

.login-card {
    max-width: 450px;
    width: 100%;
}

.bg-primary-subtle {
    background-color: rgba(85,110,230,.25)!important;
}

.text-primary {
    color: var(--primary-color) !important;
}

@media (max-width: 991px) {
    .vertical-menu {
        transform: translateX(-100%);
    }
    .vertical-menu.show {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
        width: 100%;
    }
}
