/*---Admin Default----------*/
h1, h2, h3, h4, h5, h6{
	    color: #636363;
}
.profile_photo{
    border-radius: 50%;
}
.profile_photo.small{
	width: 55px;
    height: 55px;
}
.profile_photo.medium{
	width: 105px;
    height: 105px;
}
.profile_photo.large{
	 width: 150px;
    height: 150px;
}
.ad-def-bg-color, .def-bg-color{
	background-color: #eea41c;
} 
.ad-def-bdl-color:hover{
	border-left-color: #ffa500;
}
.sec-box{
    background:#ffffff;
    padding:24px;
    border-radius:14px;
    border:1px solid #eef0f4;
    box-shadow:0 8px 24px rgba(0,0,0,0.06);
    transition:all .25s ease;
}

input:focus, select:focus{
	border-color: #eea41c !important;
    outline: 0;
    box-shadow: 0 0 0 0.1rem rgba(238, 164, 28, 0.38) !important;
}
.footer-copyright{
	    color: #000;
    background-color: #f7f7f7;
}
/* POPUP Model */
.pop-model{
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}
.pop-model .model-overlay{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000005e;
    z-index: 1000;
}
.pop-model .model-content{
position: relative;
    top: 15%;
    left: 25%;
    width: 50%;
    height: 70%;
    min-width: 40%;
    min-height: 40%;
    z-index: 1001;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: 0px 0px 2px 3px #5b5b5bf5;
    padding: 10px;
}
.pop-model .pop-model-close{
	position: absolute;
    right: 5px;
    top: 5px;
    width: 25px;
    height: 25px;
    background-color: #fff;
    text-align: center;
    border-radius: 50%;
    line-height: 1.8;
    color: #f00;
    border: 1px solid #ccc;
	cursor:pointer;
}
.pop-model .model-content .security_pin{
    width: 250px;
    margin: auto;
    font-size: 100px;
    line-height: 0;
    height: 80px;
    padding-top: 0px;
    padding-bottom: 15px; 
    text-align: center;
}
/* Table 1 Design */
/* ================================
   TABLE – MODERN DESIGN
================================ */

.table-1 table{
    width:100%;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 8px 25px rgba(0,0,0,.06);
}

/* HEADER */
.table-1 table thead th{
    background:#f9fafb;
    color:#555;
    font-weight:600;
    font-size:14px;
    padding:14px 12px;
    text-align:center;
    border-bottom:1px solid #e5e7eb;
    border-right:1px solid #eef0f2;
}
.table-1 table thead th:last-child{
    border-right:0;
}

/* BODY */
.table-1 table tbody td{
    padding:12px;
    font-size:14px;
    color:#444;
    vertical-align:middle;
    border-bottom:1px solid #f1f1f1;
}
.table-1 table tbody tr:hover{
    background:#fffbe9;
}

/* DATATABLE CONTROLS */
.table-1 .dataTables_filter input[type="search"]{
    border:0;
    border-bottom:2px solid #e5e7eb;
    border-radius:0;
    padding:6px 4px;
    transition:.3s;
}
.table-1 .dataTables_filter input[type="search"]:focus{
    outline:none;
    border-color:#f1b500;
}

.table-1 .dataTables_info{
    font-size:13px;
    color:#777;
}

/* PAGINATION */
.table-1 .pagination{
    margin-top:15px;
}
.table-1 .page-link{
    border:none;
    font-size:13px;
    color:#555;
    padding:7px 12px;
    margin:0 3px;
    border-radius:6px;
    transition:.25s;
}
.table-1 .page-link:hover{
    background:#fff3cd;
    color:#000;
}
.table-1 .page-item.active .page-link{
    background:#f1b500;
    color:#000;
    font-weight:600;
}
.table-1 .page-item.disabled .page-link{
    color:#ccc;
}

/* BUTTONS INSIDE TABLE */
.table-1 .btn{
    padding:5px 12px;
    font-size:13px;
    border-radius:6px;
    line-height:1.2;
}

/* ================================
   LABELS & BUTTONS – MODERN
================================ */

.label,
.badge{
    padding:6px 12px;
    font-size:12px;
    font-weight:500;
    border-radius:20px;
}

/* DEFAULT */
.btn.btn-default,
.label.label-default{
    background:#fff;
    color:#242424;
    border:1px solid #e5e7eb;
}
.btn.btn-default:hover{
    background:#f9fafb;
}

/* SUCCESS */
.btn.btn-success,
.label.label-success{
    background:#22c55e;
    border-color:#22c55e;
    color:#fff;
}

/* WARNING (BRAND YELLOW) */
.btn.btn-warning,
.label.label-warning{
    background:#f1b500;
    border-color:#f1b500;
    color:#000;
}

/* DANGER */
.btn.btn-danger,
.label.label-danger{
    background:#ef4444;
    border-color:#ef4444;
    color:#fff;
}

/* FOCUS RESET */
.table-1 .page-link:focus,
.btn:focus{
    box-shadow:none !important;
    outline:none;
}

/*---END---Label & Button----*/
/*---News Alert Box -----*/
.news-alert{
	    border: 1px solid #e8e8e8;
    border-radius: 3px;
    background-color: #fff;
}
.news-alert .header{
    padding: 7px 15px;
}
.news-alert .header p{
margin: 0px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}
.news-alert .header span{
font-size: 12px;
    color: #292929;
}
.news-alert .alerts ul{
padding: 0px;
    display: block;
    list-style: none;
	    margin: 0px;
}
.news-alert .alerts{
    max-height: 800px;
    overflow: overlay;
	}
.news-alert:hover .alerts::-webkit-scrollbar{
	display:block;
}
.news-alert .alerts::-webkit-scrollbar {
  width: 5px;
  display:none;
}
.news-alert .alerts::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
.news-alert .alerts::-webkit-scrollbar-thumb {
  background: #888; 
}
.news-alert .alerts::-webkit-scrollbar-thumb:hover {
  background: #555; 
}
.news-alert .alerts ul li{
    padding: 10px 20px;
    border-bottom: 1px solid #dadada;
}
.news-alert .alerts ul li.unread{
    background-color: #f7f7f7;
}
.news-alert .alerts ul li.unread .fa{
	background-color: #fff;
}
.news-alert .alerts ul li .fa{
	float: left;
    width: 35px;
    height: 35px;
    margin-bottom: 15px;
    border: 1px solid #eaedef;
    border-radius: 3px;
    background-color: #f8f8f8;
    text-align: center;
    white-space: nowrap;
    font-size: 15px;
    line-height: 2.2;
}
.news-alert .alerts ul li .alert-content{
padding-left: 45px;
}
.news-alert .alerts ul li .alert-content .alert-heading{
font-weight: 600;
}
.news-alert .alerts ul li .alert-content .alert-heading span{
font-size: 11px;
    font-weight: 400;
    margin-left: 6px;
    color: #b5b5b5;
}
.news-alert .alerts ul li .alert-content .alert-text{
font-size: 13px;
}

/*-END--News Alert Box -----*/
/*---Start Sidebar---------*/
.admin-wrapper {
	position: relative;
	height: 100%;
	min-width: 330px;
}
.admin-sidebar {
	min-height: 100%;
	width: 220px;
	color: #171717;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 1000;
	transition: all 150ms;
	border-right: 1px solid #e4e4e4;
	box-shadow: 0px 0px 3px 0px #ccc;
	background-color:#ffffff;
}
.admin-sidebar .side-header {
	height: 50px;
	border-bottom: 1px solid #eaeaea;
}
.admin-sidebar .side-header p {
	font-size: 20px;
	font-weight: 600;
	color: #0e0e0e;
	padding: 10px;
	text-align: center;
}
.admin-sidebar .side-content .sidebar-nav ul {
	display: block;
	list-style: none;
	padding: 0px;
}
.admin-sidebar .side-content .sidebar-nav ul li a {
	padding: 10px;
	border-bottom:1px solid #eaeaea;
	color: #0e0e0e; 
	font-size: 14px;
	cursor: pointer;
	display: block;
}
.admin-sidebar .side-content .sidebar-nav ul li {
	position: relative;
}
.admin-sidebar .side-content .sidebar-nav ul li a:hover {
	background-color: #fff;
	color: #356c9e;
    border-left-style: solid;
}
.admin-sidebar .side-content .sidebar-nav ul li a i {
	margin-right: 5px;
}
.admin-sidebar .side-content .sidebar-nav ul li.sub-menu ul {
	display: none;
}
.admin-sidebar .side-content .sidebar-nav ul li.sub-menu ul li a i {
	margin-right: 5px;
	position: inherit !important;
}
.admin-sidebar .side-content .sidebar-nav ul li.sub-menu ul li a {
	padding-left: 30px;
}
.admin-sidebar .side-content .sidebar-nav ul li.sub-menu.active ul {
	display: block;
}
.admin-sidebar .side-content .sidebar-nav ul li.sub-menu a .fa:last-child {
	position: absolute;
	right: 12px;
	top: 10px;
}
/*Main Content */
.admin-main{
    margin-left:220px;           /* match sidebar width */
    min-height:100vh;            /* full viewport */
    display:flex;
    flex-direction:column;       /* header → content → footer */
    background:#f7f7f7;
    transition:all .2s ease;
}

.admin-main .topbar{
	height: 50px;
    background-color: #fefefe;
    border-bottom: 1px solid #ececec;
    box-shadow: 0px 0px 10px 1px #f1f1f1;
    width: 100%;
	position: fixed;
    z-index: 100;
}
.admin-main .topbar h4{
    float: left;
    padding: 14px;
    font-size: 18px;
}
.admin-main .topbar .topbar-actions{   
    -webkit-transform: skew(-15deg);
    -moz-transform: skew(-15deg);
    -o-transform: skew(-15deg);
width:220px;
    height: 50px;
    right: 211px;
    position: relative;
}
.admin-main .topbar .topbar-actions ul{
    list-style: none;
	    padding: 0px;
		    text-align: right;
    padding-right: 20px;
}
.admin-main .topbar .topbar-actions ul li{
	    display: inline-block;
		    -webkit-transform: skew(15deg);
    -moz-transform: skew(15deg);
    -o-transform: skew(15deg);
	    padding:15px 10px;
}
.admin-main .topbar .topbar-actions ul li i{
font-size: 21px;
}
.admin-main .topbar .userbar{
	display:none;
	transition: all .3s ease-out;
background-color: #ffffff;
    border-left: 1px solid #b7b7b773;
    border-bottom: 1px solid #b7b7b773;
    box-shadow: 2px 5px 7px 0px #ccc;
    height: auto;
    width: 100%;
    position: absolute;
    top: 50px;
    right: -20px;
	padding-right: 17px;
    -webkit-transform: skew(15deg);
    -moz-transform: skew(15deg);
    -o-transform: skew(15deg);
}
.admin-main .topbar .userbar ul{
    padding: 0px;
    margin: 0px;
	text-align: left;
}
.admin-main .topbar .userbar ul li .fa{
    float: right;
	    color: #8e8e8e;
	}
.admin-main .topbar .userbar ul li a{ 
	    color: #444;
	}
.admin-main .topbar .userbar ul li{
display: block;
    width: 100%;
    -webkit-transform: skew(0deg);
    -moz-transform: skew(0deg);
    -o-transform: skew(0deg);
    padding: 5px 10px;
    background-color: #f7f7f7;
    margin: 10px;
}
.admin-main .topbar .userbar .userheader{
	width: 100%;
    display: block;
    padding: 10px 0px 10px 10px;
}
.admin-main .topbar .userbar .userheader img{
float: left;
    width: 55px;
    height: 55px;
	} 
.admin-main .topbar .userbar .userheader .user-detail h3{
font-size: 17px;
    font-weight: 600;
}
/* Dashboard */
.admin-main .total-box{
	background-color: #fff;
    width: 250px;
    margin: auto;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-shadow: 0px 2px 4px 0px #f1f1f1;
}
.admin-main .total-box .box-head{
    padding: 10px;
    font-size: 18px;
    text-align: center;
    text-transform: uppercase;
}
.admin-main .total-box .box-content{
    text-align: center;
    padding: 20px;
}
.admin-main .total-box .box-content h3{
font-size: 25px;
    font-weight: 600;
}

	.topbar-modern{
    background:#fff;
    height:64px;
    padding:0 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid #eee;
    position:sticky;
    top:0;
    z-index:1000;
}

.topbar-left{
    display:flex;
    align-items:center;
    gap:12px;
}

.btn-back{
    width:38px;
    height:38px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f6fa;
    color:#333;
    transition:.2s;
}
.btn-back:hover{
    background:#e9ecef;
}

.page-title{
    margin:0;
    font-weight:600;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:18px;
}

.icon-btn{
    position:relative;
    width:38px;
    height:38px;
    border-radius:10px;
    background:#f5f6fa;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
}
.icon-btn i{font-size:16px;}
.icon-btn .dot{
    position:absolute;
    top:8px;
    right:8px;
    width:8px;
    height:8px;
    background:#ff3b3b;
    border-radius:50%;
}

.user-menu{
    position:relative;
}

.user-trigger{
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
}

.avatar{
    width:36px;
    height:36px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
}

.user-name{
    font-weight:500;
    display:flex;
    align-items:center;
    gap:6px;
}

.user-dropdown{
    position:absolute;
    right:0;
    top:55px;
    width:220px;
    background:#fff;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);
    display:none;
    overflow:hidden;
}

.user-info{
    padding:16px;
    text-align:center;
    border-bottom:1px solid #eee;
}

.avatar-lg{
    width:56px;
    height:56px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    margin:0 auto 8px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.user-dropdown ul{
    list-style:none;
    padding:0;
    margin:0;
}
.user-dropdown ul li a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:12px 16px;
    color:#333;
    text-decoration:none;
}
.user-dropdown ul li a:hover{
    background:#f5f6fa;
}
.user-dropdown .divider{
    height:1px;
    background:#eee;
}
.sidebar-modern{
    width:220px;
    height:100vh;
    background:#0f172a; /* dark slate */
    color:#fff;
    position:fixed;
    left:0;
    top:0;
    display:flex;
    flex-direction:column;
    z-index:1001;
}

.sidebar-header{
    height:64px;
    display:flex;
    align-items:center;
    padding:0 20px;
    font-weight:700;
    font-size:18px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo-text{
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.sidebar-menu{
    flex:1;
    overflow-y:auto;
    padding:12px 0;
}

.menu-list{
    list-style:none;
    padding:0;
    margin:0;
}

.menu-item > a{
    display:flex;
    align-items:center;
    width:100%;
    padding:12px 20px; 
    text-decoration:none;
    font-size:14px;
    transition:all .25s ease;
    position:relative;
}
.menu-item > a i:first-child{
    width:22px;
    min-width:22px;
    text-align:center;
    font-size:16px;
}
.menu-item > a span{
    margin-left:12px;
    flex:1;               /* THIS pushes arrow to right */
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.menu-item > a .arrow{
    font-size:12px;
    opacity:.7;
    transition:transform .3s ease;
}
.menu-item.open > a .arrow{
    transform:rotate(90deg);
}


.menu-item > a i{
    width:20px;
    text-align:center;
}

.menu-item > a:hover,
.menu-item.active > a{
    background:rgba(255,255,255,.08);
    color:#fff;
}

.menu-item.has-sub > a{
    justify-content:space-between;
}

.menu-item.has-sub > a .arrow{
    font-size:12px;
    transition:.3s;
}

.menu-item.open > a .arrow{
    transform:rotate(90deg);
}

/* Sub Menu */
.sub-menu{
    display:none;
    list-style:none;
    padding:0;
    margin:0;
    background:#020617;
}

.menu-item.open .sub-menu{
    display:block;
}

.sub-menu li a{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px 20px 10px 48px;
    font-size:13px;
    color:#94a3b8;
    text-decoration:none;
}

.sub-menu li a:hover,
.sub-menu li.active a{
    background:rgba(255,255,255,.06);
    color:#fff;
}

/* Scrollbar */
.sidebar-menu::-webkit-scrollbar{
    width:5px;
}
.sidebar-menu::-webkit-scrollbar-thumb{
    background:rgba(255,255,255,.15);
    border-radius:10px;
}
/* ===== Sidebar Base ===== */
.sidebar-modern{
    width:260px;
    height:100vh;
    background:#0f172a;
    position:fixed;
    top:0;
    left:0;
    z-index:1200;
    transition:transform .3s ease;
}

/* ===== Main Content ===== */
.admin-main{
    margin-left:260px;
    transition:margin-left .3s ease;
}

/* ===== Mobile ===== */
@media (max-width: 991px){
    .sidebar-modern{
        transform:translateX(-100%);
    }

    .sidebar-modern.active{
        transform:translateX(0);
    }

    .admin-main{
        margin-left:0;
    }

    body.sidebar-open{
        overflow:hidden;
    }

    /* Overlay */
    .sidebar-overlay{
        position:fixed;
        inset:0;
        background:rgba(0,0,0,.45);
        z-index:1100;
        display:none;
    }

    .sidebar-overlay.show{
        display:block;
    }
}

.user-dropdown.show{ display:block; }


  .stat-card{
    background:#fff;
    border-radius:14px;
    padding:20px;
    display:flex;
    align-items:center;
    gap:15px;
    box-shadow:0 8px 24px rgba(0,0,0,.06);
    transition:.3s;
}
.stat-card:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 30px rgba(0,0,0,.1);
}
.stat-card h6{
    margin:0;
    color:#6c757d;
    font-size:14px;
}
.stat-card h3{
    margin:0;
    font-weight:700;
}
.stat-card .icon{
    width:52px;
    height:52px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:22px;
}
.admin-footer{
    background:#fff;
    border-top:1px solid #e5e7eb;
    padding:12px 24px;
    font-size:13px;
    color:#6b7280;
}
