/***** Wrapper *****/
.wrapper { display: block; }

/***** Sidebar *****/
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -255px;
    background: #333;
    color: #fff;
    transition: all .3s;
    box-shadow: 2px 0px 3px rgba(170 170 170, 0.5);
    text-align: left;
    z-index: 1040!important;
}

.sidebar-wrapper{
    margin-top: 45px;
}

.sidebar.active { left: 0; }

.dismiss {
	width: 35px; height: 35px; position: absolute; top: 10px; right: 10px; transition: all .3s;
	background: #444; border-radius: 4px; text-align: center; line-height: 35px; cursor: pointer;
}

.dismiss:hover, .dismiss:focus { background: #555; color: #fff; }

.sidebar .logo { padding: 40px 20px; border-bottom: 1px solid #444; transition: all .3s; }

.sidebar .logo a {
	display: inline-block;
	width: 172px;
	height: 34px;
	background: url(../img/logo.png) left top no-repeat;
	border: 0;
	text-indent: -999999px;
}

.sidebar ul.menu-elements {
    /*border-bottom: 1px solid #444; */
    transition: all .3s;
}

.sidebar ul li a {
	display: block; padding: 10px 20px;
	border: 0; color: #fff;
}
.sidebar ul li a:hover,
.sidebar ul li a:focus,
.sidebar ul li.active > a:hover,
.sidebar ul li.active > a:focus { outline: 0; background: #555; color: #fff; }

.sidebar ul li a i { margin-right: 5px; }

.sidebar ul li.active > a, .sidebar ul li.active > a[aria-expanded="true"] {
	background: #444;
	color: #fff;
}

.sidebar ul ul a { background: #444; padding-left: 30px; font-size: 14px; }

.sidebar ul ul li.active > a { background: #555; }

.sidebar a[data-toggle="collapse"] {
    position: relative;
}

.sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

.sidebar .to-top { padding: 20px; text-align: center; }

.sidebar .dark-light-buttons { padding: 10px 20px 30px 20px; text-align: center; }

/* sidebar light */

.sidebar.light { background: #fff; color: #888; }

.sidebar.light .dismiss { background: #ddd; color: #888; }

.sidebar.light .dismiss:hover,
.sidebar.light .dismiss:focus { background: #ccc; color: #888; }

.sidebar.light .logo { border-color: #eee; }
.sidebar.light .logo a { background-image: url(../img/logo-dark.png); }

.sidebar.light ul.menu-elements { border-color: #eee; }

.sidebar.light ul li a { color: #888; }

.sidebar.light ul li a:hover,
.sidebar.light ul li a:focus,
.sidebar.light ul li.active > a:hover,
.sidebar.light ul li.active > a:focus { background: #ccc; color: #888; }

.sidebar.light ul li.active > a, .sidebar.light a[aria-expanded="true"] {
	background: #ddd;
	color: #888;
}

.sidebar.light ul ul a { background: #ddd; }

.sidebar.light ul ul li.active > a { background: #ccc; }

.sidebar.light a.btn-customized-3 { background: #ddd; color: #888; }

.sidebar.light a.btn-customized-3:hover,
.sidebar.light a.btn-customized-3:active,
.sidebar.light a.btn-customized-3:focus,
.sidebar.light a.btn-customized-3:active:focus,
.sidebar.light a.btn-customized-3.active:focus,
.sidebar.light a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active,
.sidebar.light a.btn-customized-3.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
	background: #ccc; color: #888;
}

.sidebar.light a.btn-customized-4.btn-customized-dark { background: #555; }
.sidebar.light a.btn-customized-4.btn-customized-light { background: #eee; }

.sidebar.light a.btn-customized-4.btn-customized-dark:hover,
.sidebar.light a.btn-customized-4.btn-customized-dark:active,
.sidebar.light a.btn-customized-4.btn-customized-dark:focus,
.sidebar.light a.btn-customized-4.btn-customized-dark:active:focus,
.sidebar.light a.btn-customized-4.btn-customized-dark.active:focus,
.sidebar.light a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active,
.sidebar.light a.btn-customized-4.btn-customized-dark.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
	background: #ccc; color: #fff;
}

.sidebar.light a.btn-customized-4.btn-customized-light:hover,
.sidebar.light a.btn-customized-4.btn-customized-light:active,
.sidebar.light a.btn-customized-4.btn-customized-light:focus,
.sidebar.light a.btn-customized-4.btn-customized-light:active:focus,
.sidebar.light a.btn-customized-4.btn-customized-light.active:focus,
.sidebar.light a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active,
.sidebar.light a.btn-customized-4.btn-customized-light.btn.btn-primary:not(:disabled):not(.disabled):active:focus {
	background: #ccc; color: #fff;
}


/***** Dark overlay *****/

.overlay {
    display: none; position: fixed; width: 100vw; height: 100vh;
    background: rgba(51, 51, 51, 0.7); z-index: 998; opacity: 0; transition: all .5s ease-in-out;
}

.overlay.active { display: block; opacity: 1; }


/***** Content *****/

.content { width: 100%; transition: all 0.3s; }


/***** Divider *****/

.divider-1 span { display: inline-block; width: 200px; border-bottom: 1px dotted #aaa; }


/***** Top content *****/

.top-content { width: 100%; padding: 60px 0 120px 0; }

.top-content h1 { padding-top: 60px; color: #fff; }
.top-content .description { margin: 30px 0 0 0; padding-bottom: 30px; }
.top-content .description p { color: #fff; color: rgba(255, 255, 255, 0.8); }
.top-content .description a { color: #fff; color: rgba(255, 255, 255, 0.8); border-color: #fff; border-color: rgba(255, 255, 255, 0.8); }
.top-content .description a:hover,
.top-content .description a:focus { color: #fff; color: rgba(255, 255, 255, 0.8); }

.menu-divider{
    border-bottom: 1px solid #444;
}

.sidebar.light .menu-divider{
    border-bottom: 1px solid  #eee;
}

/* ===== XEmpire-style side nav (appended locally) ===== */
.user-side-menu .nav-link{border-radius:14px!important;margin-bottom:4px;padding:10px 14px!important;font-weight:600;transition:background .2s}
.user-side-menu .nav-link:hover{background:rgba(127,127,127,.12)}
.user-side-menu .nav-link.active{background:var(--primary)!important;color:#fff!important}
.user-side-menu .nav-link.active .side-menu-label{color:#fff!important}
.user-side-menu .nav-link.active ion-icon{color:#fff!important}
.user-side-menu .nav-link.active .menu-notification-badge{color:#fff!important}


/* ===== XCruze topbar (appended locally) ===== */
.xc-topbar{position:sticky;top:0;z-index:1020;background:rgba(127,127,127,.07);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(127,127,127,.14);transition:transform .3s ease}
.xc-topbar-hidden{transform:translateY(-100%)}
.xc-topbar-inner{max-width:1280px;margin:0 auto;display:flex;align-items:center;gap:18px;padding:10px 20px}
.xc-topbar-logo img{height:34px;width:auto;display:block}
.xc-topbar-search{display:none}
@media (min-width: 992px){
.xc-topbar-search{flex:1;max-width:420px;display:flex;align-items:center;background:rgba(127,127,127,.12);border:1px solid rgba(127,127,127,.16);border-radius:999px;padding:7px 8px 7px 16px}
}
.xc-topbar-search input{flex:1;border:0;background:transparent;color:inherit;font-size:14px;outline:none;min-width:0}
.xc-topbar-search button{border:0;background:transparent;color:var(--primary);cursor:pointer;display:inline-flex;align-items:center;padding:2px 6px}
.xc-topbar-search button svg{display:block}
.xc-topbar-icons{margin-left:auto;display:flex;align-items:center;gap:6px}
.xc-topbar-icons>a{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;color:inherit;transition:background .2s,color .2s}
.xc-topbar-icons>a:hover{background:rgba(127,127,127,.14);text-decoration:none;color:inherit}
.xc-topbar-icons>a.active{color:var(--primary)}
.xc-topbar-badge{position:absolute;top:2px;right:0;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:999px;background:var(--primary);color:#fff;font-size:10px;font-weight:700;padding:0 4px}
.xc-topbar-user img{width:36px!important;height:36px!important;object-fit:cover}
.xc-topbar-user .dropdown-menu{margin-top:8px}
@media (max-width: 767px){
    .xc-topbar-inner{gap:10px;padding:8px 12px}
    .xc-topbar-logo img{height:28px}
    .xc-topbar-icons>a{width:36px;height:36px}
}

