/*=========================================
RAW ACADEMY STUDENT DASHBOARD
=========================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body.raw-student-dashboard{
    background:#f4f7fb;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    color:#1f2937;
    line-height:1.6;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

ul{
    list-style:none;
}

/*=========================================
LAYOUT
=========================================*/

.raw-dashboard-wrapper{
    display:flex;
    min-height:100vh;
}

.raw-dashboard-content{
    flex:1;
    margin-left:150px;
    padding:20px;
    background:#f4f7fb;
    border-radius: 18px;
}

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

.raw-sidebar{

background:linear-gradient(
180deg,
#ffffff 0%,
#fcfcfc 60%,
#f7f7f7 100%
);

}

.raw-sidebar{
    position:fixed;
    top:0;
    left:0;
    width:280px;
    height:100vh;
    background:#ffffff;
    border-right:1px solid #ececec;
    overflow-y:auto;
    overflow-x:hidden;
    z-index:999;
    display:flex;
    flex-direction:column;
}


.raw-sidebar::-webkit-scrollbar{
    width:6px;
}

.raw-sidebar::-webkit-scrollbar-thumb{
    background:#dc2626;
    border-radius:20px;
}

.raw-logo{
    padding:25px;
    text-align:center;
    border-bottom:1px solid #eee;
}

.raw-logo img{
    width:70px;
    margin:0 auto 12px;
}

.raw-logo h2{
    font-size:22px;
    color:#dc2626;
    font-weight:700;
}

.raw-student-box{
    padding:25px;
    text-align:center;
    border-bottom:1px solid #eee;
}

.raw-avatar{
    width:110px;
    height:110px;
    margin:0 auto 15px;
}

.raw-avatar img{
    width:110px;
    height:110px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #dc2626;
}

.raw-student-box h3{
    font-size:20px;
    margin-bottom:6px;
    color:#111827;
}

.raw-student-box span{
    color:#6b7280;
    font-size:14px;
}

/*=========================================
MENU
=========================================*/

.raw-sidebar-menu{
    padding:20px 15px;
}

.raw-sidebar-menu li{
    margin-bottom:8px;
}

.raw-sidebar-menu a{
    display:flex;
    align-items:center;
    gap:15px;
    padding:14px 18px;
    color:#374151;
    border-radius:12px;
    transition:.3s;
    font-size:15px;
    font-weight:500;
}

.raw-sidebar-menu a i{
    font-size:22px;
}

.raw-sidebar-menu li.active a,
.raw-sidebar-menu a:hover{
    background:linear-gradient(
    135deg,
    #dc2626,
    #ef4444
    );
    color:#fff;
    transform:translateX(5px);
}

.raw-sidebar-footer{
    padding:20px;
    border-top:1px solid #eee;
}

.raw-sidebar-footer a{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:#dc2626;
    color:#fff;
    padding:14px;
    border-radius:12px;
    font-weight:600;
    transition:.3s;
}

.raw-sidebar-footer a:hover{
    background:#b91c1c;
}

/*=========================================
PROFILE PAGE PHOTO
=========================================*/

.raw-profile-avatar{
    width:100px;
    height:80px;
    margin:0 auto 25px;
    border-radius:50%;
    overflow:hidden;
    border:6px solid #ffffff;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.raw-profile-avatar img{
    width:100%;
    height:80%;
    object-fit:cover;
}

/*=========================================
HEADER
=========================================*/

.raw-header{
    background:#fff;
    border-radius:18px;
    padding:20px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    margin-bottom:30px;
}

.raw-header-left{
    display:flex;
    align-items:center;
    gap:18px;
}

.raw-mobile-menu{
    display:none;
    border:none;
    background:none;
    font-size:28px;
    cursor:pointer;
}

.raw-greeting{
    display:block;
    color:#dc2626;
    font-size:14px;
    font-weight:600;
    margin-bottom:5px;
}

.raw-header-left h2{
    font-size:26px;
    color:#111827;
    margin-bottom:5px;
}

.raw-header-left p{
    color:#6b7280;
    font-size:14px;
}

.raw-header-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.raw-notification{
    width:48px;
    height:48px;
    border-radius:50%;
    background:#f3f4f6;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    cursor:pointer;
    transition:.3s;
}

.raw-notification:hover{
    background:#dc2626;
    color:#fff;
}

.raw-notification i{
    font-size:24px;
}

.raw-notification-count{
    position:absolute;
    top:-4px;
    right:-4px;
    background:#ef4444;
    color:#fff;
    font-size:11px;
    padding:3px 6px;
    border-radius:20px;
    font-weight:600;
}

.raw-header-profile{
    display:flex;
    align-items:center;
    gap:12px;
}

.raw-header-profile img{
    width:48px;
    height:48px;
    border-radius:50%;
    object-fit:cover;
    border:3px solid #dc2626;
}

.raw-header-profile strong{
    display:block;
    font-size:15px;
    color:#111827;
}

.raw-header-profile small{
    color:#6b7280;
}

/*=========================================
HERO SECTION
=========================================*/

.raw-hero{
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:40px;

    padding:50px;

    border-radius:22px;

    background:linear-gradient(
        135deg,
        #7f1d1d 0%,
        #b91c1c 20%,
        #dc2626 55%,
        #ef4444 100%
    );

    color:#fff;

    margin-bottom:35px;
}

.raw-hero::before{

content:"";

position:absolute;

top:-120px;

right:-120px;

width:320px;

height:320px;

background:rgba(255,255,255,.08);

border-radius:50%;

}

.raw-hero::after{

content:"";

position:absolute;

bottom:-90px;

left:-90px;

width:240px;

height:240px;

background:rgba(255,255,255,.05);

border-radius:50%;

}

.raw-hero-left{

flex:1;

z-index:2;

}

.raw-hero-right{

    flex:0 0 320px;

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

    margin:auto;

}

/*=========================================
LOGO GLOW CIRCLE
=========================================*/

.raw-hero-right::before{

    content:"";

    position:absolute;

    width:380px;
    height:380px;

    border-radius:50%;

    background:
        radial-gradient(circle,
        rgba(255,255,255,.22) 0%,
        rgba(255,255,255,.12) 35%,
        rgba(255,255,255,.08) 60%,
        transparent 100%);

    z-index:1;

}

.raw-hero-right::after{

    content:"";

    position:absolute;

    width:320px;
    height:320px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.25);

    z-index:1;

}

.raw-hero-right img{

    width:240px;
    max-width:100%;
    position:relative;
    z-index:2;
    filter:drop-shadow(0 15px 30px rgba(0,0,0,.25));

}

.raw-hero-right img:hover{

    transform:scale(1.05);

}

@keyframes rawRotate{

from{

transform:rotate(0deg);

}

to{

transform:rotate(360deg);

}

}

@media(max-width:991px){

.raw-hero{

    flex-direction:column;

    align-items:center;

    text-align:center;

}

.raw-hero-left{

    width:100%;

}

.raw-hero-right{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    margin:30px auto 0;

}

.raw-hero-right::before{

    width:250px;
    height:250px;

}

.raw-hero-right::after{

    width:210px;
    height:210px;

}

.raw-hero-right img{

    width:170px;

}

}

.raw-hero-right::before{

width:180px;
height:180px;

}

.raw-hero-right::after{

width:145px;
height:145px;

}

.raw-hero-right img{

width:130px;

}


.raw-hero h1{

font-size:40px;

margin:15px 0;

line-height:1.2;

}

.raw-hero p{

max-width:550px;

line-height:1.8;

opacity:.95;

}

.raw-hero-buttons{

display:flex;

gap:15px;

margin-top:25px;

flex-wrap:wrap;

}

/*=========================
Hero Buttons
=========================*/

.raw-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:170px;
    height:50px;
    padding:0 28px;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    transition:.3s ease;
    cursor:pointer;
}

.raw-btn-primary{

    background:#ffffff;
    color:#dc2626;
    border:2px solid #ffffff;

}

.raw-btn-primary:hover{

    background:#111827;
    color:#ffffff;
    border-color:#111827;
    transform:translateY(-3px);

}

.raw-btn-secondary{

    background:rgba(255,255,255,.15);
    color:#ffffff;
    border:2px solid rgba(255,255,255,.35);

}

.raw-btn-secondary:hover{

    background:#ffffff;
    color:#dc2626;
    transform:translateY(-3px);

}

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

.raw-dashboard-cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-bottom:35px;
}

.raw-stat-card{
    background:#fff;
    border-radius:18px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:18px;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    transition:.3s;
}

.raw-stat-card:hover{
    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(220,38,38,.18);
}

.raw-stat-icon{
    width:70px;
    height:70px;
    border-radius:18px;
    background:#fee2e2;
    color:#dc2626;
    display:flex;
    justify-content:center;
    align-items:center;
}

.raw-stat-icon i{
    font-size:32px;
}

.raw-stat-card span{
    color:#6b7280;
    font-size:14px;
}

.raw-stat-card h2{
    margin-top:6px;
    font-size:24px;
    color:#111827;
}



/*=========================================
DASHBOARD GRID
=========================================*/

.raw-dashboard-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px;
    margin-bottom:30px;
}

.raw-card-large{
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    overflow:hidden;
    transition:.3s;
}

.raw-card-large:hover{
    transform:translateY(-5px);
}

.raw-card-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 25px;
    border-bottom:1px solid #f1f5f9;
}

.raw-card-header h3{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
    color:#111827;
}

.raw-card-header h3 i{
    color:#dc2626;
    font-size:22px;
}

.raw-card-header a{
    color:#dc2626;
    font-size:14px;
    font-weight:600;
}

.raw-card-body{
    padding:25px;
}

/*=========================================
NOTIFICATION CARD
=========================================*/

.raw-notification-card{
    display:flex;
    gap:15px;
    padding:18px;
    border:1px solid #edf2f7;
    border-radius:14px;
    margin-bottom:15px;
    transition:.3s;
}

.raw-notification-card:last-child{
    margin-bottom:0;
}

.raw-notification-card:hover{
    background:#f9fafb;
    border-color:#dc2626;
}

.raw-notification-icon{
    width:52px;
    height:52px;
    border-radius:12px;
    background:#fee2e2;
    color:#dc2626;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}

.raw-notification-icon i{
    font-size:24px;
}

.raw-notification-content{
    flex:1;
}

.raw-notification-content h4{
    font-size:16px;
    margin-bottom:6px;
    color:#111827;
}

.raw-notification-content p{
    color:#6b7280;
    font-size:14px;
    line-height:1.7;
    margin-bottom:8px;
}

.raw-notification-content span{
    font-size:13px;
    color:#9ca3af;
}

/*=========================================
ATTENDANCE
=========================================*/

.raw-attendance-circle{

    width:140px;
    height:140px;
    margin:0 auto 25px;

    border-radius:50%;

    background:conic-gradient(
        #dc2626 0deg,
        #dc2626 calc(var(--percent,80) * 3.6deg),
        #f3f4f6 0deg
    );

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;   /* IMPORTANT */
    overflow:hidden;
}

.raw-attendance-circle::before{

    content:"";

    position:absolute;

    inset:16px;

    background:#fff;

    border-radius:50%;

    z-index:2;

}

.raw-attendance-value{

    position:relative;

    z-index:2;

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    font-size:34px;

    font-weight:700;

    color:#dc2626;

    line-height:1;

}

.raw-attendance-circle{
    position:relative;
}

.raw-attendance-value{
    position:relative;
    z-index:2;

    font-size:34px;
    font-weight:700;
    color:#dc2626;

    line-height:1;
}

.raw-attendance-circle span{
    position:relative;
    z-index:1;

    margin-top:8px;
    font-size:14px;
    color:#666;
}

.raw-progress{
    width:100%;
    height:12px;
    background:#edf2f7;
    border-radius:30px;
    overflow:hidden;
    margin:25px 0;
}

.raw-progress-bar{
    height:100%;
    background:linear-gradient(90deg,#dc2626,#ef4444);
    border-radius:30px;
}

.raw-attendance-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
    text-align:center;
}

.raw-attendance-stats div{
    background:#f9fafb;
    padding:18px;
    border-radius:12px;
}

.raw-attendance-stats strong{
    display:block;
    font-size:22px;
    color:#111827;
    margin-bottom:5px;
    z-index:20 !important;
}

.raw-attendance-stats span{
    font-size:13px;
    color:#6b7280;
    z-index:20 !important;
}

/*=========================================
EMPTY STATE
=========================================*/

.raw-empty{
    text-align:center;
    padding:40px 20px;
}

.raw-empty i{
    font-size:48px;
    color:#d1d5db;
    margin-bottom:15px;
}

.raw-empty p{
    color:#6b7280;
    font-size:15px;
}


/*=========================================
FEE SUMMARY
=========================================*/

.raw-fee-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.raw-fee-item{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:15px;
    padding:22px;
    text-align:center;
    transition:.3s;
}

.raw-fee-item:hover{
    transform:translateY(-5px);
}

.raw-fee-item span{
    display:block;
    color:#6b7280;
    font-size:14px;
    margin-bottom:8px;
}

.raw-fee-item h2{
    color:#111827;
    font-size:26px;
}

.raw-fee-item.paid{
    background:#ecfdf5;
    border-color:#10b981;
}

.raw-fee-item.balance{
    background:#fef2f2;
    border-color:#ef4444;
}

/*=========================================
CERTIFICATE
=========================================*/

.raw-certificate-card{
    text-align:center;
    padding:30px;
}

.raw-certificate-card i{
    font-size:60px;
    color:#f59e0b;
    margin-bottom:15px;
}

.raw-certificate-card h4{
    font-size:22px;
    margin-bottom:10px;
}

.raw-certificate-card strong{
    display:block;
    margin-top:15px;
    color:#dc2626;
    font-size:20px;
}

/*=========================================
ASSIGNMENTS
=========================================*/

.raw-assignment-card{
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px;
    border:1px solid #e5e7eb;
    border-radius:14px;
    margin-bottom:15px;
    transition:.3s;
}

.raw-assignment-card:last-child{
    margin-bottom:0;
}

.raw-assignment-card:hover{
    background:#f9fafb;
    border-color:#dc2626;
}

.raw-assignment-icon{
    width:50px;
    height:50px;
    background:#fee2e2;
    color:#dc2626;
    border-radius:12px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.raw-assignment-icon i{
    font-size:24px;
}

/*=========================================
QUICK ACTIONS
=========================================*/

.raw-action-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.raw-action-btn{
    background:#f8fafc;
    border:1px solid #e5e7eb;
    border-radius:16px;
    padding:22px;
    text-align:center;
    transition:.3s;
    color:#111827;
}

.raw-action-btn:hover{
    background:#dc2626;
    color:#fff;
    transform:translateY(-5px);
}

.raw-action-btn i{
    display:block;
    font-size:32px;
    margin-bottom:12px;
}

.raw-action-btn span{
    font-weight:600;
}

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

.raw-profile-table{
    width:100%;
    border-collapse:collapse;
}

.raw-profile-table tr{
    border-bottom:1px solid #f1f5f9;
}

.raw-profile-table th{
    width:40%;
    padding:16px;
    text-align:left;
    color:#374151;
    font-weight:600;
}

.raw-profile-table td{
    padding:16px;
    color:#6b7280;
}

.raw-badge{
    display:inline-block;
    padding:6px 14px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
}

.raw-success{
    background:#dcfce7;
    color:#166534;
}

.raw-warning{
    background:#fef3c7;
    color:#92400e;
}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:1200px){

.raw-dashboard-cards{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:991px){

.raw-sidebar{
transform:translateX(-100%);
transition:.3s;
}

.raw-dashboard-content{
margin-left:0;
padding:20px;
}

.raw-mobile-menu{
display:block;
}

.raw-header{
flex-direction:column;
align-items:flex-start;
gap:20px;
}

.raw-header-right{
width:100%;
justify-content:space-between;
}

@media (max-width:991px){

.raw-hero{

flex-direction:column;

text-align:center;

padding:35px 25px;

gap:25px;

}

.raw-hero-left{

width:100%;

}

.raw-hero-right{

flex:none;

width:100%;

}

.raw-hero-right img{

max-width:180px;

}

.raw-hero h1{

font-size:30px;

}

.raw-hero p{

max-width:100%;

}

.raw-hero-buttons{

justify-content:center;

}

}

@media (max-width:480px){

.raw-hero{

padding:25px 20px;

}

.raw-hero h1{

font-size:24px;

}

.raw-btn{

width:100%;

text-align:center;

}

.raw-hero-buttons{

flex-direction:column;

}

}

.raw-dashboard-grid{ 
grid-template-columns:1fr;
}

.raw-fee-grid{
grid-template-columns:1fr;
}

}

@media(max-width:768px){

.raw-dashboard-cards{
grid-template-columns:1fr;
}

.raw-action-grid{
grid-template-columns:1fr;
}

.raw-attendance-stats{
grid-template-columns:1fr;
}

.raw-header-profile div{
display:none;
}

.raw-profile-table th,
.raw-profile-table td{
display:block;
width:100%;
padding:10px;
}

.raw-profile-table tr{
display:block;
margin-bottom:15px;
border:1px solid #e5e7eb;
border-radius:10px;
}

}

.show-sidebar{
    transform:translateX(0)!important;
}

@media(max-width:991px){

.raw-sidebar{

transform:translateX(-100%);

transition:.35s;

}

}


.raw-close-sidebar{

display:none;

position:absolute;

top:18px;

right:18px;

width:38px;

height:38px;

border:none;

border-radius:50%;

background:#dc2626;

color:#fff;

font-size:20px;

cursor:pointer;

z-index:1001;

}

.raw-close-sidebar:hover{

background:#b91c1c;

}

@media(max-width:991px){

.raw-close-sidebar{

display:flex;

align-items:center;

justify-content:center;

}

}

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

.raw-profile-hero{

    margin-bottom:30px;

}

.raw-profile-avatar{

    width:180px;
    height:180px;

    border-radius:50%;

    object-fit:cover;

    border:8px solid rgba(255,255,255,.35);

    background:#fff;

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

}

.raw-profile-meta{

    display:grid;

    grid-template-columns:repeat(2,minmax(180px,1fr));

    gap:18px;

    margin-top:30px;

}

.raw-meta-card{

    background:rgba(255,255,255,.6);

    border:1px solid rgba(255,255,255,.6);

    backdrop-filter:blur(80px);

    border-radius:18px;

    padding:18px;

}

.raw-meta-card span{

    display:block;

    font-size:13px;

    color:rgba(255,255,255,1);

    margin-bottom:6px;

}

.raw-meta-card strong{

    color:#fff;

    font-size:18px;

    font-weight:700;

}

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

.raw-profile-card{

    background:#fff;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    margin-bottom:28px;

    overflow:hidden;
    padding: 20px;

}

.raw-card-title{

    display:flex;

    align-items:center;

    gap:18px;

    padding:22px 28px;

    border-bottom:1px solid #edf2f7;

    background:#fafafa;

}

.raw-card-icon{

    width:50px;

    height:50px;

    border-radius:12px;

    display:flex;

    align-items:center;

    justify-content:center;

 background:linear-gradient(135deg,#b91c1c,#ef4444);
 
    color:#fff;

    font-size:26px;

    flex-shrink:0;

}

.raw-card-title h3{

    margin:0;

    font-size:20px;

    color:#111827;

}

.raw-card-title p{

    margin-top:5px;

    color:#6b7280;

    font-size:14px;

}

.raw-profile-table{

    width:100%;

    border-collapse:collapse;

}

.raw-profile-table tr{

    transition:.25s;

}

.raw-profile-table tr:nth-child(even){

    background:#fafafa;

}

.raw-profile-table tr:hover{

    background:#fef2f2;

}

.raw-profile-table th{

    width:240px;

    padding:18px 25px;

    color:#374151;

    font-weight:600;

    border-bottom:1px solid #edf2f7;

}

.raw-profile-table td{

    padding:18px 25px;

    color:#6b7280;

    border-bottom:1px solid #edf2f7;

}

@media(max-width:768px){

.raw-profile-avatar{

width:120px;
height:120px;

}

.raw-profile-meta{

grid-template-columns:1fr;

}

.raw-card-title{

padding:18px;

}

.raw-card-icon{

width:48px;
height:48px;
font-size:22px;

}

.raw-profile-table,
.raw-profile-table tbody,
.raw-profile-table tr,
.raw-profile-table th,
.raw-profile-table td{

display:block;
width:100%;

}

.raw-profile-table tr{

padding:10px 0;

}

.raw-profile-table th{

border:none;
padding-bottom:5px;

}

.raw-profile-table td{

padding-top:0;

}

}

/*====================================
PROFILE STAT CARDS
====================================*/

.raw-profile-stats{

    display:grid;

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

    gap:20px;

    padding:25px;

}

.raw-profile-stat{

    background:#fff;

    border:1px solid #edf2f7;

    border-radius:18px;

    padding:25px;

    text-align:center;

    transition:.3s;

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

}

.raw-profile-stat:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(220,38,38,.12);

}

.raw-profile-stat .raw-icon{

    width:60px;

    height:60px;

    margin:0 auto 18px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    background:linear-gradient(135deg,#dc2626,#ef4444);

    color:#fff;

}

.raw-profile-stat h4{

    margin:0;

    font-size:15px;

    color:#6b7280;

    font-weight:500;

}

.raw-profile-stat h2{

    margin-top:12px;

    font-size:30px;

    font-weight:700;

    color:#111827;

    line-height:1.2;

    word-break:break-word;

}

@media(max-width:768px){

.raw-profile-stats{

grid-template-columns:1fr;

padding:18px;

}

.raw-profile-stat{

padding:20px;

}

.raw-profile-stat h2{

font-size:24px;

}

}

/*=========================================
ATTENDANCE PAGE
=========================================*/

.raw-attendance-circle{

    width:140px;
    height:140px;

    background:#fff;

    border-radius:50%;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    position:relative;
    overflow:visible;

    z-index:5;

}

.raw-circle-value{

    display:block !important;

    font-size:42px !important;

    font-weight:700 !important;

    color:#dc2626 !important;

    line-height:1 !important;

    background:transparent !important;

    border:none !important;

    box-shadow:none !important;

    padding:0 !important;

    margin:0 !important;

    width:auto !important;

    height:auto !important;

    position:relative !important;

    z-index:20 !important;

}

.raw-attendance-circle span{

    margin-top:10px;

    font-size:15px;

    color:#555;
    z-index:20 !important

}

.raw-attendance-filter{

    display:flex;
    gap:15px;
    align-items:center;
    margin:25px;
    flex-wrap:wrap;

}

.raw-attendance-filter input[type="month"]{

    padding:12px 16px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:15px;

}

.raw-btn-primary{

    background:linear-gradient(135deg,#fff,#fff);

    color:#000;

    border:none;

    padding:12px 22px;

    border-radius:10px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

}

.raw-btn-primary:hover{

    transform:translateY(-2px);

}

.raw-calendar{

    width:100%;

    border-collapse:collapse;

}

.raw-calendar th{

    background:#dc2626;

    color:#fff;

    padding:15px;

    text-align:center;

}

.raw-calendar td{

    border:1px solid #edf2f7;

    height:90px;

    vertical-align:top;

    padding:8px;

    transition:.3s;

}

.raw-calendar td:hover{

    background:#fef2f2;

}

.raw-day{

    font-weight:700;

    margin-bottom:8px;

}

.raw-present,
.raw-absent,
.raw-leave{

    display:inline-block;

    padding:4px 10px;

    border-radius:20px;

    color:#fff;

    font-size:12px;

}

.raw-present{

    background:#16a34a;

}

.raw-absent{

    background:#dc2626;

}

.raw-leave{

    background:#f59e0b;

}

.raw-badge{

    display:inline-block;

    padding:8px 14px;

    border-radius:25px;

    font-size:13px;

    font-weight:600;

}

.raw-success{

    background:#dcfce7;

    color:#166534;

}

.raw-danger{

    background:#fee2e2;

    color:#991b1b;

}

.raw-warning{

    background:#fef3c7;

    color:#92400e;

}

@media(max-width:768px){

.raw-attendance-circle{

width:130px;
height:130px;
margin:auto;

}

.raw-attendance-circle strong{

font-size:34px;
color: #000;

}

.raw-attendance-filter{

flex-direction:column;
align-items:stretch;

}

.raw-calendar{

display:block;
overflow-x:auto;

}

}

/*=========================================
FEE STATUS CARD
=========================================*/

.raw-status-card{

    display:flex;
    align-items:center;
    gap:20px;

    margin:25px;

    padding:25px;

    border-radius:18px;

}

.raw-status-success{

    background:#ecfdf5;

    border-left:5px solid #16a34a;

}

.raw-status-warning{

    background:#fff7ed;

    border-left:5px solid #f59e0b;

}

.raw-status-icon{

    width:70px;

    height:70px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:32px;

    background:#fff;

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

    flex-shrink:0;

}

.raw-status-card h3{

    margin:0;

    color:#111827;

    font-size:22px;

}

.raw-status-card p{

    margin-top:8px;

    color:#6b7280;

    line-height:1.6;

}

@media(max-width:768px){

.raw-status-card{

flex-direction:column;

text-align:center;

margin:18px;

}

}

.raw-assignment-grid{

    display:grid;

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

    gap:25px;

    margin-top:25px;

}

.raw-assignment-card{

    background:#fff;

    border:1px solid #ececec;

    border-radius:18px;

    padding:24px;

    transition:.3s;

    box-shadow:0 5px 18px rgba(0,0,0,.05);

}

.raw-assignment-card:hover{

    transform:translateY(-5px);

    box-shadow:0 18px 35px rgba(0,0,0,.12);

}

.raw-assignment-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:15px;

    margin-bottom:15px;

}

.raw-assignment-header h3{

    margin:0;

    font-size:20px;

    color:#111827;

}

.raw-assignment-desc{

    color:#6b7280;

    line-height:1.7;

    min-height:70px;

}

.raw-assignment-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-top:20px;

    padding-top:18px;

    border-top:1px solid #eee;

    flex-wrap:wrap;

    gap:12px;

}

.raw-download-btn{

    background:#dc2626;

    color:#fff;

    text-decoration:none;

    padding:10px 18px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

}

.raw-download-btn:hover{

    background:#b91c1c;

    color:#fff;

}

.raw-empty-state{

    text-align:center;

    padding:70px 20px;

}

.raw-empty-icon{

    font-size:60px;

    margin-bottom:20px;

}

/*=========================================
ASSIGNMENT GUIDELINES
=========================================*/

.raw-guidelines-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:25px;

}

.raw-guideline-item{

    display:flex;

    align-items:flex-start;

    gap:18px;

    padding:22px;

    border-radius:16px;

    background:#f9fafb;

    transition:.3s;

}

.raw-guideline-item:hover{

    background:#fff5f5;

    transform:translateY(-3px);

}

.raw-guideline-icon{

    width:50px;

    height:50px;

    border-radius:12px;

 background:linear-gradient(135deg,#b91c1c,#ef4444);
 
    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    flex-shrink:0;

}

.raw-guideline-item h4{

    margin:0 0 8px;

    font-size:18px;

    color:#111827;

}

.raw-guideline-item p{

    margin:0;

    color:#6b7280;

    line-height:1.6;

}

@media(max-width:768px){

.raw-guidelines-grid{

grid-template-columns:1fr;

}

.raw-assignment-footer{

flex-direction:column;

align-items:flex-start;

}

.raw-download-btn{

width:100%;

text-align:center;

}

}

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

.raw-summary-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin:35px 0;

}

.raw-summary-card{

    background:#fff;

    border-radius:18px;

    padding:25px;

    display:flex;

    align-items:center;

    gap:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:.3s;

}

.raw-summary-card:hover{

    transform:translateY(-5px);

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

}

.raw-summary-icon{

    width:50px;

    height:50px;

    border-radius:12px;

    background:linear-gradient(135deg,#b91c1c,#ef4444);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    flex-shrink:0;

}

.raw-summary-card span{

    display:block;

    color:#6b7280;

    font-size:14px;

    margin-bottom:6px;

}

.raw-summary-card h2{

    margin:0;

    font-size:30px;

    color:#111827;

    line-height:1.2;

}

@media(max-width:992px){

.raw-summary-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.raw-summary-grid{

grid-template-columns:1fr;

}

}

/*=========================================
DOWNLOADS
=========================================*/

.raw-download-grid{

    display:grid;

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

    gap:25px;

    margin-top:25px;

}

.raw-download-card{

    background:#fff;

    border-radius:18px;

    border:1px solid #edf2f7;

    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.05);

    transition:.3s;

}

.raw-download-card:hover{

    transform:translateY(-6px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.raw-download-top{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:18px;

}

.raw-download-icon{

    width:65px;

    height:65px;

    border-radius:18px;

    background:linear-gradient(135deg,#dc2626,#ef4444);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    flex-shrink:0;

}

.raw-download-top h4{

    margin:0;

    font-size:20px;

    color:#111827;

}

.raw-download-top small{

    color:#6b7280;

    font-size:13px;

}

.raw-download-card p{

    margin:18px 0;

    color:#6b7280;

    line-height:1.7;

    min-height:72px;

}

.raw-download-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:15px;

    padding-top:18px;

    border-top:1px solid #edf2f7;

    flex-wrap:wrap;

}

.raw-file-type{

    background:#fef2f2;

    color:#dc2626;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

    font-weight:700;

    letter-spacing:.5px;

}

.raw-file-missing{

    color:#dc2626;

    font-weight:600;

}

.raw-download-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:linear-gradient(135deg,#dc2626,#ef4444);

    color:#fff;

    text-decoration:none;

    padding:11px 20px;

    border-radius:10px;

    font-weight:600;

    transition:.3s;

}

.raw-download-btn:hover{

    color:#fff;

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(220,38,38,.25);

}

@media(max-width:768px){

.raw-download-grid{

grid-template-columns:1fr;

}

.raw-download-footer{

flex-direction:column;

align-items:flex-start;

}

.raw-download-btn{

width:100%;

}

}

/*=========================================
CERTIFICATE
=========================================*/

.raw-certificate-preview{

    margin-top:25px;

}

.raw-certificate{

    max-width:850px;

    margin:auto;

    background:#fff;

    border-radius:24px;

    overflow:hidden;

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

    border:1px solid #edf2f7;

}

.raw-certificate-top{

    background:linear-gradient(135deg,#b8860b,#facc15);

    color:#fff;

    text-align:center;

    font-size:30px;

    font-weight:700;

    padding:30px;

    letter-spacing:1px;

}

.raw-certificate-body{

    padding:55px;

    text-align:center;

    background:

    radial-gradient(circle at top right,#fff7d6 0,#fff 45%),

    #fff;

}

.raw-certificate-badge{

    display:inline-block;

    padding:10px 24px;

    border-radius:40px;

    background:#fef3c7;

    color:#b45309;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:30px;

}

.raw-certificate-body h2{

    margin:18px 0;

    font-size:42px;

    color:#dc2626;

    font-weight:700;

}

.raw-certificate-body h3{

    margin:15px 0 30px;

    font-size:28px;

    color:#111827;

}

.raw-certificate-body p{

    color:#6b7280;

    font-size:17px;

    line-height:1.8;

}

.raw-certificate-info{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:25px;

    margin-top:45px;

}

.raw-certificate-info div{

    background:#f9fafb;

    border-radius:16px;

    padding:22px;

}

.raw-certificate-info strong{

    display:block;

    color:#6b7280;

    margin-bottom:10px;

    font-size:14px;

}

.raw-certificate-info span{

    font-size:20px;

    color:#111827;

    font-weight:700;

}

.raw-certificate-pending{

    text-align:center;

    padding:70px 40px;

    background:#fff;

    border-radius:20px;

}

.raw-pending-icon{

    width:100px;

    height:100px;

    margin:0 auto 25px;

    border-radius:50%;

    background:#fef2f2;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:48px;

}

.raw-certificate-pending h3{

    margin-bottom:15px;

    font-size:28px;

}

.raw-certificate-pending p{

    max-width:650px;

    margin:auto;

    color:#6b7280;

    line-height:1.8;

}

@media(max-width:768px){

.raw-certificate-body{

padding:30px 20px;

}

.raw-certificate-top{

font-size:22px;

padding:22px;

}

.raw-certificate-body h2{

font-size:30px;

}

.raw-certificate-body h3{

font-size:22px;

}

.raw-certificate-info{

grid-template-columns:1fr;

}

}

/*=================================
NOTIFICATIONS
=================================*/

.raw-notification-list{

    display:flex;

    flex-direction:column;

    gap:20px;

    margin-top:25px;

}

.raw-notification-card{

    background:#fff;

    border:1px solid #edf2f7;

    border-left:5px solid #dc2626;

    border-radius:18px;

    padding:25px;

    transition:.3s;

    box-shadow:0 8px 25px rgba(0,0,0,.04);

}

.raw-notification-card:hover{

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.raw-notification-date{

    display:inline-block;

    background:#fef2f2;

    color:#dc2626;

    padding:6px 14px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

    margin-bottom:15px;

}

.raw-notification-card h4{

    margin-bottom:15px;

    font-size:22px;

    color:#111827;

}

.raw-notification-content{

    color:#6b7280;

    line-height:1.8;

}

.raw-notification-content p:last-child{

    margin-bottom:0;

}

/*=================================
SUPPORT
=================================*/

.raw-support-grid{

display:grid;

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

gap:20px;

margin-top:25px;

}

.raw-support-box{

background:#f9fafb;

border-radius:18px;

padding:25px;

text-align:center;

transition:.3s;

}

.raw-support-box:hover{

transform:translateY(-5px);

box-shadow:0 15px 35px rgba(0,0,0,.08);

}

.raw-support-icon{

width:70px;

height:70px;

margin:auto auto 18px;

border-radius:50%;

background:linear-gradient(135deg,#dc2626,#ef4444);

color:#fff;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

}

.raw-faq{

display:flex;

flex-direction:column;

gap:20px;

margin-top:20px;

}

.raw-faq-item{

padding:20px;

border-left:5px solid #dc2626;

background:#fff;

border-radius:14px;

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

}

.raw-faq-item h4{

margin-bottom:10px;

color:#111827;

}

.raw-action-buttons{

display:flex;

gap:20px;

margin-top:25px;

flex-wrap:wrap;

}

.raw-primary-btn,
.raw-secondary-btn{

padding:14px 28px;

border-radius:12px;

font-weight:600;

text-decoration:none;

transition:.3s;

}

.raw-primary-btn{

background:linear-gradient(135deg,#dc2626,#ef4444);

color:#fff;

}

.raw-secondary-btn{

background:#f3f4f6;

color:#111827;

}

.raw-primary-btn:hover,
.raw-secondary-btn:hover{

transform:translateY(-3px);

}

/*=================================
SETTINGS
=================================*/

.raw-input{

width:100%;

padding:14px 16px;

border:1px solid #e5e7eb;

border-radius:12px;

background:#fff;

font-size:15px;

transition:.3s;

box-sizing:border-box;

}

.raw-input:focus{

outline:none;

border-color:#dc2626;

box-shadow:0 0 0 4px rgba(220,38,38,.12);

}

.raw-profile-table td{

padding:18px;

}

.raw-profile-table th{

vertical-align:middle;

}

.raw-description{

margin-top:8px;

font-size:13px;

color:#6b7280;

}

.raw-action-buttons{

margin-top:30px;

display:flex;

justify-content:flex-end;

}

.raw-action-buttons input{

border:none;

cursor:pointer;

font-size:15px;

padding:15px 34px;

}
