/* ===== GENERAL ===== */

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
}


body{
    background:#f5f7fb;
    font-family:Arial,Helvetica,sans-serif;
    width: 100%;
}

.main-content{
    padding:20px;
}

/* ===== CARDS ===== */

.card{
    border:none;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
    margin-bottom:20px;
}

.card-header{
    background:#fff;
    font-weight:bold;
    font-size:18px;
    border-bottom:1px solid #eee;
}

.card table {
    width: 100%;
  table-layout: table;
  word-wrap: break-word;
}

/* ===== SUMMARY CARDS ===== */

.summary-card{
    color:#fff;
    border-radius:15px;
    padding:25px;
    text-align:center;
    transition:.3s;
    min-height:150px;
}

.summary-card:hover{

transform:translateY(-5px);

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

}

.summary-card h6{

font-size:18px;

margin-bottom:15px;

}

.summary-card h2{

font-size:38px;

font-weight:bold;

}

/* ===== TABLE ===== */

.table{

margin-bottom:0;

}

.table th{

background:#0d6efd;

color:#fff;

}

.table td{

vertical-align:middle;

}

/* ===== PROGRESS BAR ===== */

.progress{

height:18px;

border-radius:10px;

background:#eee;

}

.progress-bar{

font-size:12px;

font-weight:bold;

}

/* ===== ALERTS ===== */

.alert{

border:none;

border-radius:12px;

}

/* ===== BUTTON ===== */

.btn{

border-radius:10px;

padding:10px 18px;

}

/* ===== CHART ===== */

#performanceChart{

width:100% !important;

height:350px !important;

}

/* ===== PROFILE ===== */

.student-profile{

display:flex;

justify-content:space-between;

align-items:center;

}

.student-profile h2{

font-weight:bold;

margin-bottom:5px;

}

.student-profile span{

color:#777;

}

/* ===== PRINT ===== */

@media print{

.sidebar,
.navbar,
.btn{

display:none !important;

}

.main-content{

margin:0;

padding:0;

}

.card{

box-shadow:none;

}

}



/* ===== MOBILE ===== */

@media(max-width:768px){
    #content {
        margin-left: 0 !important;
        padding: 10px;
    }

.main-content{

padding:10px;

}

.summary-card{

min-height:120px;

margin-bottom:15px;

}

.summary-card h2{

font-size:28px;

}

.summary-card h6{

font-size:16px;

}

.student-profile{

display:block;

text-align:center;

}

#performanceChart{

height:250px !important;

}

.table{

font-size:14px;

}

}

/* ===== HIDE SIDEBAR ===== */

@media(max-width:768px){

.sidebar{

position:fixed;

left:-260px;

top:0;

width:250px;

height:100%;

background:#1e3a8a;

transition:.3s;

z-index:9999;

overflow-y:auto;

}

.sidebar.show{

left:0;

}

.main-content{

margin-left:0 !important;

}

.menu-btn{

position:fixed;

left:15px;

top:15px;

z-index:10000;

}

}

/* ===== BADGES ===== */

.badge{

padding:8px 14px;

font-size:14px;

}

/* ===== ANIMATION ===== */

.card{

animation:fadeIn .5s ease;

}

@keyframes fadeIn{

from{

opacity:0;

transform:translateY(15px);

}

to{

opacity:1;

transform:translateY(0);

}

}