/*=========================================
            Fonts
=========================================*/

@font-face{

font-family:"IranNastaliq";

src:url("../fonts/IranNastaliq.ttf");

}

@font-face{

font-family:"AdobeArabicBold";

src:url("../fonts/AdobeArabic-Bold.otf");

}

/*=========================================
            Reset
=========================================*/

*{

margin:0;

padding:0;

box-sizing:border-box;

}

body{

direction:rtl;

font-family:"AdobeArabicBold",Tahoma,sans-serif;

background:#F4F8FC;

color:#222;

}

/*=========================================
            Header
=========================================*/

.header{

width:100%;

height:80px;

background:#0D3B66;

display:flex;

justify-content:space-between;

align-items:center;

padding:0 25px;

color:#FFF;

box-shadow:0 3px 10px rgba(0,0,0,.15);

}

.logo img{

width:60px;

height:60px;

animation:logoBlink 2.5s infinite;

}

@keyframes logoBlink{

0%,100%{

opacity:1;

}

50%{

opacity:.6;

}

}

.title{

font-size:30px;

font-family:"IranNastaliq";

}

.welcome{

font-size:20px;

font-family:"AdobeArabicBold";

}
/*=========================================
            Sidebar
=========================================*/

.sidebar{

position:fixed;

top:80px;

right:0;

width:250px;

height:calc(100vh - 80px);

background:#FFFFFF;

border-left:1px solid #D9E8FF;

box-shadow:-2px 0 10px rgba(0,0,0,.08);

padding-top:20px;

overflow-y:auto;

}

.sidebar ul{

list-style:none;

}

.sidebar ul li{

margin:8px 12px;

}

.sidebar ul li a{

display:block;

padding:14px 18px;

text-decoration:none;

font-size:20px;

font-family:"AdobeArabicBold";

color:#0D3B66;

border-radius:12px;

transition:.3s;

}

.sidebar ul li a:hover{

background:#1976D2;

color:#FFF;

transform:translateX(-5px);

}

.sidebar ul li a.active{

background:#0D3B66;

color:#FFF;

}


/*=========================================
            Content
=========================================*/

.content{

margin-right:270px;

margin-top:100px;

padding:25px;

}
/*=========================================
            Dashboard Cards
=========================================*/

.cards{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(230px,1fr));

gap:20px;

margin-top:15px;

}

.card{

background:#FFFFFF;

border-radius:18px;

padding:22px;

border:1px solid #DCE9FF;

box-shadow:0 8px 20px rgba(0,0,0,.08);

transition:.3s;

cursor:pointer;

}

.card:hover{

transform:translateY(-6px);

box-shadow:0 16px 30px rgba(0,0,0,.15);

}

.card h3{

font-size:24px;

font-family:"AdobeArabicBold";

color:#1565C0;

margin-bottom:15px;

}

.card .number{

font-size:42px;

font-weight:bold;

color:#0D3B66;

margin-bottom:8px;

}

.card p{

font-size:18px;

color:#666;

line-height:1.8;

}
/*=========================================
            Welcome Box
=========================================*/

.welcomeBox{

background:#FFFFFF;

border:1px solid #DCE9FF;

border-radius:18px;

padding:20px;

margin-bottom:25px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.welcomeBox h2{

font-size:28px;

color:#0D3B66;

margin-bottom:10px;

}

.welcomeBox p{

font-size:18px;

color:#666;

line-height:1.9;

}

/*=========================================
            Statistics Table
=========================================*/

.statsTable{

width:100%;

background:#FFF;

border-collapse:collapse;

border-radius:18px;

overflow:hidden;

box-shadow:0 8px 20px rgba(0,0,0,.08);

margin-top:25px;

}

.statsTable th{

background:#1565C0;

color:#FFF;

padding:15px;

font-size:18px;

}

.statsTable td{

padding:14px;

text-align:center;

border-bottom:1px solid #E8EEF7;

font-size:17px;

}

.statsTable tr:hover{

background:#F5FAFF;

}

/*=========================================
            Responsive
=========================================*/

@media(max-width:768px){

.sidebar{

width:210px;

}

.content{

margin-right:225px;

padding:15px;

}

.header{

padding:0 12px;

}

.title{

font-size:24px;

}

.welcome{

font-size:16px;

}

}
