/*
|--------------------------------------------------------------------------
| SANTRI DETAIL
|--------------------------------------------------------------------------
*/

.student-detail-page{
    padding:100 0 60px;
}

.student-profile{

    display:flex;

    gap:40px;

    align-items:center; 
    margin-bottom:40px;

    flex-wrap:wrap;

}

.student-profile-photo{

    width:260px;

    flex-shrink:0;

}

.student-profile-photo img{

    width:100%;

    border-radius:20px;

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

    display:block;

}

.student-profile-header{

    flex:1;

}

.student-profile-header h1{

    margin:0;

    font-size:42px;

    color:var(--primary);

    font-weight:700;

}

.student-profile-header p{

    margin-top:10px;

    font-size:20px;

    color:#666;

}

.student-profile-badge{

    display:inline-block;

    margin-top:18px;

    padding:8px 18px;

    border-radius:50px;

    background:var(--primary);

    color:#fff;

    font-size:15px;

    font-weight:600;

}

.student-profile-card{

    background:#fff;

    border-radius:20px;

    padding:30px;

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

}

.student-profile-table{

    width:100%;

    border-collapse:collapse;

}

.student-profile-table tr{

    border-bottom:1px solid #eee;

}

.student-profile-table tr:last-child{

    border-bottom:none;

}

.student-profile-table th{

    width:220px;

    padding:15px 0;

    color:#666;

    font-weight:600;

    text-align:left;

    vertical-align:top;

}

.student-profile-table td{

    padding:15px 0;

    color:#222;

}

.student-back{

    margin-top:35px;

}

.student-back a{

    display:inline-block;

    text-decoration:none;

    padding:12px 24px;

    border-radius:10px;

    background:var(--primary);

    color:#fff;

    transition:.3s;

}

.student-back a:hover{

    background:var(--secondary);

}

@media(max-width:768px){

.student-detail-page{
    padding:0 0 35px;
}


.student-profile{

display:flex;

flex-direction:column;

flex-wrap:nowrap;

align-items:center;

justify-content:center;

text-align:center;

gap:20px;

}

.student-profile-header{

flex:none;

width:100%;

max-width:500px;

}

.student-profile-photo{

width:220px;

margin:0 auto;

}

.student-profile-badge{

display:inline-flex;

justify-content:center;

align-items:center;

}

.student-profile-header h1{

font-size:30px;

}

.student-profile-header p{

font-size:17px;

}

.student-profile-table th,

.student-profile-table td{

display:block;

width:100%;

padding:8px 0;

text-align:left;

}

.student-profile-table tr{

padding:10px 0;

display:block;

}

.student-profile-card{

padding:20px;

}

.student-back{

text-align:center;

}

}