@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

*{
    outline:none;
}

HTML{
    min-width: 300px;
    height: 100%;
}

BODY{
    min-width: 300px;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #090f1e;
    background-image: url(../img/bg_1.png?3);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    overflow-x: hidden;
}

input, select, textarea, button{
	font-family: 'Roboto', sans-serif;
	font-size: 14px;
	font-weight: 400;
}

BODY::-webkit-scrollbar {
    width: 4px;
}
BODY::-webkit-scrollbar-track {
    background: #090f1e;
    border-radius: 0;
}
BODY::-webkit-scrollbar-thumb {
    border-radius: 50px;
    border: 0 solid rgba(0, 0, 0, 0);
    background-color: #2e3341;
}

.flex_space{flex: 1;}



.head{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    height: 55px;
    padding: 0 15px;
    background: #101628;
	z-index: 999;
}
.head > div{
    display: flex;
    align-items: center;
    height: 100%;
}
.head .logo img{
    display: block;
    margin: 0;
    padding: 0;
    height: 35px;
}
.head svg{
    display: block;
    margin: 0;
    padding: 0;
    width: auto;
    height: 35px;
    fill: #a6becf;
}
side{
    background-color: #101628;
    background-image: url(../img/gradient.png);
    background-position: top right;
    background-repeat: no-repeat;
}
side .menu{
    display: block;
    background: none;
}



.page{
    display: flex;
}
.bar{
    position: relative;
    width: 50px;
}
.menu{
    position: relative;
    width: 230px;
	display: none;
}



.bar > div{
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 20px);
    background: #141b2e;
    padding: 10px 7px;
    overflow-x: hidden;
    overflow-y: auto;
}
.bar .logo{
    margin-top: 15px!important;
    margin-bottom: 15px;
}
.bar a{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 25px;
    transition: 0.3s;
}
.bar .logo img{
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
}
.bar svg{
    display: block;
    margin: 0;
    padding: 0;
    width: 20px;
    height: auto;
    fill: #a6becf;
}
.bar a:hover svg{
    fill: var(--main_color);
}
.bar > div::-webkit-scrollbar {
    width: 4px;
}
.bar > div::-webkit-scrollbar-track {
    background: #141b2e;
    border-radius: 0;
}
.bar > div::-webkit-scrollbar-thumb {
    border-radius: 50px;
    border: 0 solid rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, 0.05);
}



.menu{
    background-color: #101628;
    background-image: url(../img/gradient.png);
    background-position: top right;
    background-repeat: no-repeat;
	z-index: 1;
}
.menu > div{
    position: sticky;
    top: 0;
    height: calc(100vh - 20px);
    padding: 10px 20px;
    overflow-x: hidden;
    overflow-y: auto;
}
.menu > div > div{
    text-transform: uppercase;
    font-weight: 700;
    font-size: 10px;
    margin-top: 25px;
}
.menu > div > a{
    display: flex;
    align-items: center;
    color: #7994a7;
    text-decoration: none;
    padding: 9px 0;
    transition: 0.3s;
}
.menu > div > a svg{
    display: block;
    margin: 0;
    padding: 0;
    width: 23px;
    height: auto;
    fill: #7994a7;
    margin-right: 15px;
    transition: 0.3s;
}
.menu > div > a > div:nth-child(2){
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;

}
.menu > div > a > div:nth-child(3){
    background: var(--main_gradient);
    color: #fff;
    border-radius: 500px;
    padding: 2px 3px;
    min-width: 15px;
    text-align: center;
}
.menu > div > a:hover{
    color: #fff;
}
.menu > div > a:hover svg{
    fill: #fff;
}
.menu_active{
    color: #fff!important;
}
.menu_active svg{
    fill: var(--main_color)!important;
}
.menu > div::-webkit-scrollbar {
    width: 4px;
}
.menu > div::-webkit-scrollbar-track {
    background: none;
    border-radius: 0;
}
.menu > div::-webkit-scrollbar-thumb {
    border-radius: 50px;
    border: 0 solid rgba(0, 0, 0, 0);
    background-color: rgba(255, 255, 255, 0.05);
}



.content{
    display: flex;
    flex-direction: column;
    width: 1250px;
    margin: 20px auto;
}
.content > h1{
    display: flex;
    align-items: center;
    margin: 0 0 20px 0;
    padding: 0 20px;
    font-weight: 300;
    font-size: 21px;
    width: calc(100% - 40px);
    max-width: 100%;
}
.content > h1 > div{
    flex: 1;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-x: hidden;
}
.content > h1 > a{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    padding: 5px;
    background: var(--main_gradient);
    border-radius: 500px;
}
.content > h1 > a > svg{
    display: block;
    margin: 0;
    padding: 0;
    width: 17px;
    height: auto;
    fill: #fff;
    transition: 0.3s;
}
.content > div{
    flex: 1;
    margin: 0 20px;
	padding: 15px;
    background: rgba(17, 23, 40, 0.95);
    border-radius: 20px;
}
.content_stretch{
    flex: 1;
}














@media (max-width: 1600px) {
    .content{flex: 1; width: auto;}
}

@media (max-width: 1000px) {
    BODY{padding-top: 55px; height: calc(100% - 55px);}
    .head{display: block;}
    .page > div:nth-child(1){display: none;}
    .page > div:nth-child(2){display: none;}
    .content > div{margin: 0 10px;}
}










.contener{
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
}

.user_auth_block{
	background: #fff;
	width: 320px;
	border-radius: 15px;
	padding: 1px 15px 15px 15px;
	position: relative;
}
@media (max-width: 500px) {
	.user_auth_block{
		width: calc(100% - 50px);
	}
}

.user_auth_block H2{
	color: #000;
	text-align: center;
	font-size: 17px;
}

.user_auth_block .inpreg{
	width: calc(100% - 30px);
	padding: 7px 15px;
	margin-bottom: 5px;
	background: #ececec;
	border-radius: 50px;
	border: 0;
}

.user_auth_block select{
	width: 100%;
	padding: 6.1px 15px;
	margin-bottom: 5px;
	background: #ececec;
	border-radius: 50px;
	border: 0;
}

.user_auth_block .errors{
	background-color:#b10000;
	color: #ffffff;
	padding:7px 10px;
	margin-bottom:10px;
	border-radius:3px;
	text-align:center;
	border-radius: 50px;
}

.user_auth_block button{
    width: 100%;
    margin-top: 5px;
    padding: 10px 10px;
    background: linear-gradient(90.77deg, #0095ff .96%, #0855c4 99.87%);
    border-radius: 10px;
    border: 0;
    border-radius: 100px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
}

.user_auth_block a{
	margin-top: 10px;
	display: block;
	text-decoration: none;
	text-align: center;
	font-size: 14px;
}


.user_blocks{
	display: flex;
	gap: 0 20px;
	margin: 20px;
}
.user_blocks > div{
	flex: 1;
	background: var(--block_bg);
	color: var(--block_color);
	border-radius: var(--main_radius);
	padding: 15px;
}



.link_details{
	margin-bottom: 25px;
}
.link_details > div:first-child{
	font-size: 17px;
	font-weight: 700;
}
.link_details input{
	width: calc(100% - 20px);
	margin-top: 15px;
	padding: 10px;
	text-align: center;
	font-weight: 700;
	background: var(--input_bg);
    border: 1px solid var(--input_bg);
    color: var(--input_color);
    border-radius: var(--main_radius);
}



.pagination{
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	background: var(--content_head_bg);
	color: var(--content_head_color);
	border-radius: var(--main_radius);
    padding: 10px;
    margin: 15px 0px;
}
.pagination a{
	text-decoration: none;
	color: #fff;
	background-color: #222d4c;
	padding: 3px 7px;
	border-radius: 5px;
	margin: 3px 3px;
}
.nav_active{
	color: #fff!important;
	background-color: var(--main_color)!important;
}



.table{
	width: 100%;
	margin: 0px;
	border-radius: var(--main_radius);
}
.table th{
    padding: 10px 7px;
    text-align: center;
	background: var(--td2_bg);
	color: var(--td_color);
}
.table td{
    padding: 10px 7px;
    text-align: center;
	color: var(--td_color);
}
.table tr:nth-child(2n) td{
	background: var(--td_bg);
}
.table tr:nth-child(2n+1) td{
	background: var(--td2_bg);
	
}
.table tr:hover td{
	background: var(--td_hover);
}
.table tr:first-child > th:first-child{border-radius: var(--main_radius) 0 0 0;}
.table tr:first-child > th:last-child{border-radius: 0 var(--main_radius) 0 0;}
.table tr:last-child > td:first-child{border-radius: 0 0 0 var(--main_radius);}
.table tr:last-child > td:last-child{border-radius: 0 0 var(--main_radius);}



.payment_details{
	display: flex;
	align-items: center;
}
.payment_details > div:first-child{
	flex: 1;
}
.pay_info{
	font-size: 11px;
	color: #818181;
}
.deposit_status{
    text-align: center;
    padding: 5px 10px;
    margin: 0px auto;
    background: #08a300;
    color: #fff;
    border-radius: 3px;
	font-size: 13px;
}
.deposit_status_fail{
	background: #a3001b;
}
.deposit_updated{
	font-size: 11px;
	color: rgba(0, 0, 0, 0.7);
	margin-top: 3px;
}



.amount_finance{
	display: flex;
	align-items: center;
	justify-content: center;
}
.amount_finance > div{
	white-space: nowrap;
}
.amount_finance > div:first-child, .amount_finance > div:last-child{
	font-size: 11px;
	color: #676767;
}
.amount_finance > div:nth-child(2){
	padding: 0 5px;
}
.amount_finance > div:nth-child(2) b{
	font-size: 17px;
}


.e404{
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 135px;
	font-weight: 700;
}


.errorInSql{
	background: var(--content_head_bg);
	color: var(--content_head_color);
	text-align: center;
	padding: 15px 15px;
	border-radius: var(--main_radius);
}

.balance{
    background: var(--block_bg);
    color: var(--block_color);
    border-radius: var(--main_radius);
    padding: 9px 15px;
    text-align: center;
}
.balance > div:first-child{
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}
.balance > div:last-child{
    margin-top: 5px;
    font-size: 19px;
    font-weight: bold;
}



.stat_filter{
    display: flex;
    align-items: center;
    background: var(--content_head_bg);
    color: var(--content_head_color);
    border-radius: var(--main_radius);
    padding: 10px;
    margin: 10px 0;
}
.stat_filter > div:first-child{
    flex: 1;
    display: flex;
    align-items: center;
}

.datepicker-here {
    border: 1px solid var(--block_bg);
    padding: 5px 10px 5px 33px;
    border-radius: var(--main_radius);
    text-align: center;
    background-color: var(--block_bg);
    color: var(--block_color);
    background-image: url(../img/calendar.png);
    background-position: center left 5px;
    background-repeat: no-repeat;
    background-size: 17px;
}

.stat_filter > div:first-child a{
    background: var(--block_bg);
    color: var(--block_color);
    text-decoration: none;
    padding: 5px 10px;
    margin-right: 5px;
    border-radius: 50px;
    transition: 0.3s;
}
.stat_filter > div:first-child .active{
    background: var(--main_color)!important;
}

@media (max-width: 1000px) {
    .stat_filter{flex-direction: column;}
    .stat_filter > div:first-child a:nth-child(3){display: none;}
    .stat_filter > div:first-child a:nth-child(5){display: none;}
    .datepicker-here{margin-top: 5px;}
}



.stats{
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.stat_block{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 27%;
    background: var(--block_bg);
    color: var(--block_color);
    border-radius: var(--main_radius);
    padding: 20px 10px 15px 10px;
    text-align: center;
    border-bottom: 2px solid var(--main_color);
}
.stat_block_name{
    margin-bottom: 7px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--main_color);
    text-decoration: none;
}
.stat_block_data{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.stat_block_data > div{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4.5px 0;
}
.stat_block_data > div > div{
    margin: 0px 3px;
}
.stat_block_data .s_name{
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.5);
}
.stat_block_data .s_amount{
    font-size: 15px;
    font-weight: bold;
}
.stat_block_data .s_count{
    background: #161d30;
    padding: 2px 5px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
}
.stat_block_no_data{
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}
#online .s_amount{
    font-size: 27px;
    font-weight: 700;
    color: var(--main_color);
}
#reg .s_amount, #auth .s_amount, #visitors .s_amount, #views .s_amount{
    font-size: 27px;
    font-weight: 700;
}

@media (max-width: 1000px) {
    .stat_block{min-width: 45%;}
}
@media (max-width: 601px) {
    .stat_block{min-width: 95%;}
}



.graph{
    margin-top: 10px;
    padding: 10px;
    background: var(--block_bg);
    color: var(--block_color);
    border-radius: var(--main_radius);
    text-align: center;
    border-bottom: 2px solid var(--main_color);
}
.graph_head{
    font-size: 14.5px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 10px;
}