
:root{
    --primary:#0F5132;
    --primary-dark:#0A3D27;
    --primary-light:#1B6B45;

    --accent:#D4AF37;

    --bg:#F5F7F4;
    --white:#FFFFFF;

    --text:#1E293B;
    --muted:#64748B;

    --border:#E5E7EB;
}

body.page,
body{
    margin:0;
    padding:0;
    background:var(--bg);
}

/* Full Page */

.ak-layout{
    display:flex;
    width:100%;
    min-height:100vh;
    background:var(--bg);
}

/* ===========================
   SIDEBAR
=========================== */

.ak-sidebar{

    width:220px;

    background:linear-gradient(
        180deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#fff;

    display:flex;
    flex-direction:column;

    flex-shrink:0;

    box-shadow:0 8px 30px rgba(0,0,0,.08);

}

.ak-sidebar-header{

    padding:20px 18px;

    border-bottom:1px solid rgba(255,255,255,.08);

    text-align:center;

}

.ak-sidebar-header h2{

    margin:0;

    font-size:26px;

    font-weight:700;

    color:#fff;

    letter-spacing:.4px;

}

.ak-sidebar-header p{

    margin:4px 0 0;

    font-size:12px;

    color:#d8eadf;

    line-height:1.5;

}

.ak-sidebar-menu{

    display:flex;

    flex-direction:column;

    gap:2px;

    padding:10px;

}

.ak-menu-item{

    display:flex;

    align-items:center;

    justify-content:space-between;

    min-height:40px;

    padding:0 12px;

    border-radius:8px;

    font-size:14px;

    font-weight:500;

    color:#fff;

    text-decoration:none;

    transition:all .18s ease;

}

.ak-menu-item:visited{

    color:#FFFFFF;

}

.ak-menu-item .left{

    display:flex;

    align-items:center;

    gap:8px;

}

.ak-menu-item:hover{

    background:rgba(255,255,255,.10);

    padding-left:16px;

}

.ak-menu-item svg{

    width:16px;

    height:16px;

    stroke-width:2;

}

.ak-menu-item.active{

    background:rgba(255,255,255,.12);

    border-left:3px solid var(--accent);

    font-weight:600;

}

.ak-submenu{

    display:block;

    margin:2px 0 6px 0;

}

.ak-submenu[hidden]{

    display:none;

}

.ak-submenu a{

    display:flex;

    align-items:center;

    height:36px;

    padding-left:46px;

    font-size:14px;

    color:#d8e8dc;

    text-decoration:none;

}

.ak-submenu a:hover{

    color:white;

}

.ak-menu-group{

    display:flex;

    flex-direction:column;

}

.ak-menu-parent{

    width:100%;

    border:none;

    background:transparent;

    font-family:inherit;

    cursor:pointer;

    text-align:left;

}

.ak-menu-parent .ak-menu-chevron{

    transition:transform .18s ease;

    flex-shrink:0;

}

.ak-menu-parent.is-expanded{

    background:rgba(255,255,255,.10);

}

.ak-menu-parent.is-expanded .ak-menu-chevron{

    transform:rotate(180deg);

}

.ak-submenu-item{

    display:flex;

    align-items:center;

    justify-content:flex-start;

    min-height:36px;

    padding:0 12px 0 46px;

    border-radius:8px;

    font-size:13px;

    font-weight:500;

    color:#d8e8dc;

    text-decoration:none;

    transition:all .18s ease;

}

.ak-submenu-item .left{

    display:flex;

    align-items:center;

    gap:8px;

}

.ak-submenu-item:hover{

    background:rgba(255,255,255,.08);

    color:#ffffff;

    padding-left:50px;

}

.ak-submenu-item svg{

    width:15px;

    height:15px;

    stroke-width:2;

}

.ak-sidebar-footer{

    margin-top:auto;

    padding:18px;

    border-top:1px solid rgba(255,255,255,.08);

    font-size:12px;

    line-height:1.6;

    color:#e7d693;

}

/* ===========================
   CONTENT
=========================== */

.ak-content{

    flex:1;

    background:#fff;

    padding:32px;

}

.ak-content-header{

    padding-bottom:24px;

    border-bottom:1px solid var(--border);

    margin-bottom:36px;

}

.ak-content-header h1{

    margin:0;

    color:var(--primary);

    font-size:36px;

    font-weight:700;

}

.ak-content-header p{

    margin-top:10px;

    color:var(--muted);

    font-size:18px;

}

.ak-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:12px;

    padding:24px;

    box-shadow:0 2px 8px rgba(0,0,0,.03);

}

.ak-card h3{

    margin-top:0;

}

/* ==========================================================
   MOBILE SIDEBAR
========================================================== */

.ak-mobile-menu-button{
    display:none;
    border:none;
    background:transparent;
    cursor:pointer;
    padding:8px;
    border-radius:8px;
    align-items:center;
    justify-content:center;
}

.ak-mobile-menu-button i{
    width:24px;
    height:24px;
}

.ak-sidebar-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.25s;
    z-index:998;
}

.ak-sidebar-overlay.is-open{
    opacity:1;
    visibility:visible;
}

.ak-mobile-menu-button{
    display:none;
}

@media (max-width:1024px){

    .ak-layout{

        display:block;

    }

    .ak-sidebar{

        position:fixed;

        top:0;

        left:0;

        width:260px;

        height:100vh;

        transform:translateX(-100%);

        transition:transform .25s ease;

        z-index:999;

        overflow-y:auto;

    }

    .ak-sidebar.is-open{

        transform:translateX(0);

    }

    .ak-sidebar-menu{

        flex-direction:column;

    }

    .ak-menu-item{

        justify-content:space-between;

        width:auto;

    }

    .ak-content{

        width:100%;

        padding:20px;

        box-sizing:border-box;

    }

    .ak-content-header{

        display:flex;
        align-items:center;
        gap:10px;

        padding:12px 20px;

        margin:-20px -20px 24px -20px;

        width:calc(100% + 40px);

        background:linear-gradient(
            180deg,
            var(--primary),
            var(--primary-dark)
        );

        border-bottom:none;

        min-height:60px;

        box-sizing:border-box;

    }

    .ak-mobile-menu-button{

        display:flex;

        align-items:center;

        justify-content:center;

        width:36px;

        height:36px;

        flex-shrink:0;

        border:none;

        border-radius:8px;

        background:transparent;

        cursor:pointer;

        color:#FFFFFF;

    }

    .ak-mobile-menu-button svg{

        width:22px;

        height:22px;

        stroke-width:2.2;

    }

    .ak-content-header-title{

        display:flex;

        flex-direction:column;

        flex:1;

    }

    .ak-content-header-title h1{

        margin:0;

        font-size:20px;

        font-weight:600;

        line-height:1.2;

        color:#FFFFFF;

    }

    .ak-content-header-title p{

        margin:4px 0 0;

        font-size:13px;

        line-height:1.4;

    }

.ak-user-greeting{

    margin-top:2px;

    font-size:13px;

    color:var(--muted);

    line-height:1.4;

}

.ak-user-greeting strong{

    font-weight:600;

}

}

.ak-dashboard-biodata-card{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:32px;
    background:#ffffff;
    border-radius:16px;
    padding:32px;
    margin-bottom:24px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.ak-dashboard-biodata-photo{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:16px;
}

.ak-dashboard-photo,
.ak-dashboard-biodata-photo img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #f3f4f6;
}

.ak-dashboard-btn-edit{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto;
    min-width:120px;
    height:36px;
    padding:0 14px;
    background:#14532d;
    color:#ffffff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:12px;
    font-weight:600;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
    transition:background-color .2s ease;
}

.ak-dashboard-btn-edit:hover,
.ak-dashboard-btn-edit:focus{
    background:#166534;
    color:#ffffff;
}

.ak-dashboard-btn-edit:active{
    background:#0f3f22;
}

.ak-dashboard-biodata-info{
    flex:1;
}

.ak-dashboard-welcome{
    display:block;
    margin-bottom:8px;
    font-weight:500;
    color:#000000;
    font-size:16px;
}

.ak-dashboard-name{
    margin:0;
    font-size:28px;
    font-weight:700;
    color:#14532d;
}

.ak-dashboard-email{
    margin-top:8px;
    color:#6b7280;
    font-size:15px;
}

/* ==========================================================
   HEADER DASHBOARD
   ========================================================== */

/* Hilangkan garis bawah header */
.ak-content-header{
    border-bottom: none !important;
}

/* Desktop & Tablet */
@media (min-width:1025px){

    .ak-dashboard-header-title{
        display:none !important;
    }

}

/* Mobile */
@media (max-width:1024px){

    .ak-dashboard-header-title{
        display:block;
    }

    .ak-content-header{
        border-bottom:none !important;
        padding-bottom:0;
        margin-bottom:20px;
    }

}

/* Desktop & Tablet */
@media (min-width:1025px){

    .ak-dashboard-biodata-card{
        margin-top:-70px;
    }
}

/* Mobile */
/* Mobile */
@media (max-width:767px){

    .ak-dashboard-biodata-card{
        margin-top:0;
        flex-direction:column;
        align-items:center;
        text-align:center;
        padding:24px;
    }

    .ak-dashboard-biodata-photo{
        width:100%;
        align-items:center;
        justify-content:center;
    }

    .ak-dashboard-biodata-info{
        width:100%;
        text-align:center;
    }

    .ak-dashboard-welcome{
        text-align:center;
    }

    .ak-dashboard-name{
        text-align:center;
    }

    .ak-dashboard-email{
        text-align:center;
    }

}

/* ==========================================================
   MENU EDIT FOTO PROFIL
========================================================== */

.ak-dashboard-biodata-photo{
    position:relative;
}

.ak-dashboard-photo-menu{
    position:absolute;
    top:calc(100% + 10px);
    left:50%;
    transform:translateX(-50%);
    width:220px;

    display:flex;
    flex-direction:column;

    background:#ffffff;

    border:1px solid #d7e6d8;

    border-radius:14px;

    overflow:hidden;

    box-shadow:
        0 10px 25px rgba(18,82,44,.14);

    z-index:999;
}

.ak-dashboard-photo-menu[hidden]{
    display:none;
}

.ak-dashboard-photo-menu-item{

    width:100%;

    padding:13px 18px;

    border:none;

    background:#ffffff;

    color:#14532d;

    text-align:left;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:
        background .20s ease,
        color .20s ease;

}

.ak-dashboard-photo-menu-item:not(:last-child){

    border-bottom:1px solid #edf5ee;

}

.ak-dashboard-photo-menu-item:hover{

    background:#14532d;

    color:#ffffff;

}

.ak-dashboard-photo-menu-item:focus{

    outline:none;

    background:#14532d;

    color:#ffffff;

}

.ak-dashboard-photo-menu-item-danger{

    color:#b91c1c;

}

.ak-dashboard-photo-menu-item-danger:hover{

    background:#b91c1c;

    color:#ffffff;

}

.ak-dashboard-photo-menu-item-danger:focus{

    outline:none;

    background:#b91c1c;

    color:#ffffff;

}

@media (max-width:768px){

    .ak-dashboard-photo-menu{

        width:210px;

    }

}

/* ==========================================================
   LIGHTBOX FOTO PROFIL
========================================================== */

.ak-dashboard-photo-lightbox{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.ak-dashboard-photo-lightbox[hidden]{

    display:none;

}

.ak-dashboard-photo-lightbox-backdrop{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.82);

    backdrop-filter:blur(3px);

}

.ak-dashboard-photo-lightbox-content{

    position:relative;

    z-index:2;

    max-width:90vw;

    max-height:90vh;

    animation:akDashboardPhotoZoom .22s ease;

}

.ak-dashboard-photo-lightbox-content img{

    display:block;

    max-width:100%;

    max-height:90vh;

    border-radius:18px;

    border:5px solid #ffffff;

    box-shadow:
        0 25px 60px rgba(0,0,0,.45);

}

.ak-dashboard-photo-lightbox-close{

    position:absolute;

    top:-18px;

    right:-18px;

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:#14532d;

    color:#ffffff;

    font-size:28px;

    font-weight:700;

    cursor:pointer;

    transition:
        background .2s ease,
        transform .2s ease;

}

.ak-dashboard-photo-lightbox-close:hover{

    background:#0f4425;

    transform:scale(1.08);

}

.ak-dashboard-photo-lightbox-close:focus{

    outline:none;

    background:#0f4425;

}

@keyframes akDashboardPhotoZoom{

    from{

        opacity:0;

        transform:scale(.92);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

@media (max-width:768px){

    .ak-dashboard-photo-lightbox-content{

        max-width:94vw;

    }

    .ak-dashboard-photo-lightbox-close{

        top:-14px;

        right:-14px;

        width:38px;

        height:38px;

        font-size:24px;

    }

}

/* ==========================================================
   Crop Modal
========================================================== */

.ak-dashboard-crop-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.ak-dashboard-crop-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}

.ak-dashboard-crop-content{

    position:relative;

    width:min(92%,520px);

    margin:40px auto;

    background:#ffffff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 20px 50px rgba(15,81,50,.20);

}

.ak-dashboard-crop-header{

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#FFFFFF;

    padding:20px 24px;

    border-bottom:none;

}

.ak-dashboard-crop-header h3{

    margin:0;

    font-size:20px;

    font-weight:700;

    letter-spacing:.3px;

}

.ak-dashboard-crop-body{

    position:relative;

    width:100%;

    height:520px;

    background:#eef4ef;

    overflow:hidden;

}

.ak-dashboard-crop-body img{

    display:block;

    width:100%;

    max-width:100%;

}

.ak-dashboard-crop-footer{

    padding:20px 24px;

    display:flex;

    justify-content:flex-end;

    gap:12px;

    border-top:1px solid #e7ece8;

    background:#ffffff;

}

.ak-dashboard-crop-footer button {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    padding: 11px 22px;
    font-size: 14px;
}

#akDashboardCropCancel{

    min-width:120px;

    height:42px;

    border:1px solid #d5dfd7;

    border-radius:10px;

    background:#ffffff;

    color:var(--primary);

    font-weight:600;

    transition:.2s;

}

#akDashboardCropCancel:hover{

    background:#eef4ef;

    border-color:var(--primary);

}

#akDashboardCropSave{

    min-width:150px;

    height:42px;

    border:none;

    border-radius:10px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color:#FFFFFF;

    font-weight:700;

    transition:.2s;

    box-shadow:
        0 8px 18px rgba(15,81,50,.18);

}

#akDashboardCropSave:hover{

    transform:translateY(-1px);

    background:linear-gradient(
        135deg,
        var(--primary-light),
        var(--primary)
    );

}

#akDashboardCropSave:active{

    transform:none;

}


/* ==========================================================
   Upload Overlay
========================================================== */

.ak-dashboard-upload-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.ak-dashboard-upload-box {
    width: 260px;
    background: #fff;
    border-radius: 12px;
    padding: 28px;
    text-align: center;
}

.ak-dashboard-upload-box p {
    margin: 18px 0 0;
    font-size: 15px;
}


/* ==========================================================
   Spinner
========================================================== */

.ak-dashboard-upload-spinner {
    width: 46px;
    height: 46px;
    margin: auto;
    border-radius: 50%;
    border: 4px solid #dcdcdc;
    border-top-color: #0d6efd;
    animation: akDashboardSpin .8s linear infinite;
}

@keyframes akDashboardSpin {
    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================
   Mobile
========================================================== */

@media (max-width:768px){

    .ak-dashboard-crop-content{
        width:95%;
        max-width:420px;
        margin:20px auto;
    }

    .ak-dashboard-crop-body{

        width:100%;

        height:60vh;

        min-height:320px;

        max-height:460px;

        padding:0;

        overflow:hidden;

        background:#5f5f5f;

    }

    .ak-dashboard-crop-body img{

        display:block;

        width:100%;

        max-width:100%;

    }

    .ak-dashboard-crop-footer{
        flex-direction:column;
    }

    .ak-dashboard-crop-footer button{
        width:100%;
    }

}

.ak-dashboard-photo-lightbox[hidden],
.ak-dashboard-upload-overlay[hidden],
.ak-dashboard-crop-modal[hidden] {
    display: none !important;
}

/* ==========================================================
   DELETE PHOTO MODAL
========================================================== */

.ak-dashboard-delete-modal{
    position:fixed;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:5000;
}

.ak-dashboard-delete-modal[hidden]{
    display:none;
}

.ak-dashboard-delete-backdrop{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(3px);
}

.ak-dashboard-delete-content{
    position:relative;
    width:90%;
    max-width:420px;
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:
        0 24px 60px rgba(0,0,0,.25);
    animation:akDeleteModalShow .18s ease;
}

@keyframes akDeleteModalShow{

    from{
        opacity:0;
        transform:translateY(12px) scale(.96);
    }

    to{
        opacity:1;
        transform:none;
    }

}

.ak-dashboard-delete-header{
    padding:18px 22px;
    background:linear-gradient(
        135deg,
        #0d7c45,
        #16a34a
    );
    color:#fff;
}

.ak-dashboard-delete-header h3{
    margin:0;
    font-size:18px;
    font-weight:700;
}

.ak-dashboard-delete-body{
    padding:24px 22px;
    color:#374151;
    line-height:1.7;
}

.ak-dashboard-delete-body p{
    margin:0 0 12px;
}

.ak-dashboard-delete-body p:last-child{
    margin-bottom:0;
    color:#6b7280;
    font-size:14px;
}

.ak-dashboard-delete-footer{
    display:flex;
    justify-content:flex-end;
    gap:12px;
    padding:18px 22px;
    border-top:1px solid #e5e7eb;
    background:#f9fafb;
}

#akDashboardDeleteCancel,
#akDashboardDeleteConfirm{

    border:none;
    border-radius:10px;
    padding:11px 18px;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.2s;

}

#akDashboardDeleteCancel{

    background:#e5e7eb;
    color:#374151;

}

#akDashboardDeleteCancel:hover{

    background:#d1d5db;

}

#akDashboardDeleteConfirm{

    background:#dc2626;
    color:#fff;

}

#akDashboardDeleteConfirm:hover{

    background:#b91c1c;

}

@media (max-width:768px){

    .ak-dashboard-delete-content{

        width:95%;
        border-radius:16px;

    }

    .ak-dashboard-delete-footer{

        flex-direction:column-reverse;

    }

    #akDashboardDeleteCancel,
    #akDashboardDeleteConfirm{

        width:100%;

    }

}

/* ==========================================================
   BIODATA GURU (COMPACT)
========================================================== */

.guru-biodata-card{
    border:none;
    border-radius:14px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 6px 18px rgba(15,23,42,.06)!important;
}

.guru-biodata-card .card-header{
    background:#14532d;
    color:#fff;
    font-size:18px;
    font-weight:600;
    padding:14px 22px;
    border:none;
}

.guru-biodata-card .card-body{
    padding:6px 22px;
}

.guru-info-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid #edf2f7;
}

.guru-info-item:last-child{
    border-bottom:none;
}

.guru-info-icon{
    width:40px;
    height:40px;
    border-radius:10px;
    background:#ecfdf5;
    color:#166534;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    flex-shrink:0;
}

.guru-info-content{
    flex:1;
    display:flex;
    align-items:center;
}

.guru-info-label{
    width:170px;
    font-size:14px;
    font-weight:600;
    color:#6b7280;
}

.guru-info-value{
    flex:1;
    font-size:15px;
    font-weight:500;
    color:#111827;
    line-height:1.5;
}

@media (max-width:768px){

    .guru-biodata-card{
        border-radius:14px;
    }

    .guru-biodata-card .card-header{
        padding:14px 18px;
        font-size:20px;
    }

    .guru-biodata-card .card-body{
        padding:6px 14px;
    }

    .guru-info-item{
        display:flex;
        align-items:flex-start;
        gap:12px;
        padding:14px 0;
    }

    .guru-info-icon{
        width:38px;
        height:38px;
        border-radius:10px;
        font-size:18px;
        flex-shrink:0;
        margin-top:2px;
    }

    .guru-info-icon svg{
        width:20px;
        height:20px;
    }

    .guru-info-content{
        display:block;
        flex:1;
        min-width:0;
    }

    .guru-info-label{
        width:auto;
        margin:0 0 4px;
        font-size:13px;
        font-weight:600;
    }

    .guru-info-value{
        font-size:16px;
        line-height:1.5;
        word-break:break-word;
    }

}

/* ==========================================================
   LAYOUT DASHBOARD GURU
========================================================== */

.guru-dashboard-layout{
    display:grid;
    grid-template-columns:minmax(480px,32%) minmax(0,68%);
    gap:24px;
    align-items:start;
}

.guru-dashboard-profile{
    width:100%;
    min-width:0;
}

.guru-dashboard-biodata{
    width:100%;
}

.guru-dashboard-profile .ak-dashboard-biodata-card{
    margin-bottom:0;
    height:100%;
}

.guru-dashboard-biodata .guru-biodata-card{
    margin-bottom:0;
}

@media (max-width:992px){

    .guru-dashboard-layout{
        grid-template-columns:1fr;
    }

}

@media (min-width:1025px){

    .guru-dashboard-biodata{
        margin-top:-70px;
    }

}

@media (max-width:768px){

    .guru-dashboard-layout{
        grid-template-columns:1fr;
    }

    .guru-dashboard-profile,
    .guru-dashboard-biodata{
        width:100%;
        min-width:0;
    }

    .guru-dashboard-biodata .guru-info-item{

        display:grid;

        grid-template-columns:38px 1fr;

        column-gap:14px;

        align-items:start;

        padding:16px 0;

    }

    .guru-dashboard-biodata .guru-info-icon{

        width:38px;

        height:38px;

        display:flex;

        justify-content:center;

        align-items:center;

    }

    .guru-dashboard-biodata .guru-info-icon svg{

        width:20px;

        height:20px;

        stroke-width:2;

    }

    .guru-dashboard-biodata .guru-info-content{

        display:block;

        min-width:0;

    }

    .guru-dashboard-biodata .guru-info-label{

        width:auto;

        margin:0;

        font-size:13px;

        color:#64748B;

        font-weight:600;

    }

    .guru-dashboard-biodata .guru-info-value{

        margin-top:4px;

        font-size:16px;

        font-weight:600;

        line-height:1.5;

    }

}

/* ==========================================================
   EDIT PROFILE MODAL
========================================================== */

.ak-dashboard-edit-profile-modal{

    position:fixed;

    inset:0;

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99999;

    overflow:hidden;

}

.ak-dashboard-edit-profile-modal[hidden]{

    display:none;

}

.ak-dashboard-edit-profile-backdrop{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.55);

}

.ak-dashboard-edit-profile-content{

    position:relative;

    width:min(1024px,92vw);

    background:#FFFFFF;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 28px 70px rgba(15,81,50,.18);

}

.ak-dashboard-edit-profile-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 24px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#FFFFFF;

    border-radius:18px 18px 0 0;

}

.ak-dashboard-edit-profile-header h3{

    margin:0;

    font-size:24px;

    font-weight:700;

    letter-spacing:.3px;

}

#akDashboardEditProfileClose{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.10);

    color:#FFFFFF;

    font-size:28px;

    cursor:pointer;

    transition:.2s;

}

#akDashboardEditProfileClose:hover{

    background:rgba(255,255,255,.20);

    transform:rotate(90deg);

}

#akDashboardEditProfileClose:hover{

    background:rgba(255,255,255,.15);

}

.ak-dashboard-edit-profile-body{

    padding:22px 24px;

    background:#fafcfb;

}

.ak-dashboard-edit-profile-body label{

    display:block;

    margin-bottom:8px;

    color:#14532d;

    font-size:14px;

    font-weight:600;

}

.ak-dashboard-edit-profile-body input,

.ak-dashboard-edit-profile-body textarea,

.ak-dashboard-edit-profile-body select{

    width:100%;

    border:1px solid #d9e5dd;

    border-radius:12px;

    padding:10px 14px;

    min-height:44px;

    font-size:15px;

    background:#FFFFFF;

    transition:.25s;

    box-sizing:border-box;

}

.ak-dashboard-edit-profile-body textarea{

    min-height:88px;

    resize:vertical;

}

.ak-dashboard-edit-profile-body input:focus,

.ak-dashboard-edit-profile-body textarea:focus,

.ak-dashboard-edit-profile-body select:focus{

    border-color:#1b6b45;

    box-shadow:0 0 0 4px rgba(27,107,69,.12);

    outline:none;

}

@media (min-width:768px) and (max-width:1366px){

    .ak-dashboard-edit-profile-content{

        width:min(980px,94vw);

        max-height:90vh;

        display:flex;

        flex-direction:column;

    }

    .ak-dashboard-edit-profile-body{

        flex:1;

        overflow-y:auto;

        padding:24px;

    }

    .ak-dashboard-edit-profile-footer{

        flex-shrink:0;

    }

}

/* ==========================================================
   GRID EDIT PROFIL
========================================================== */

.ak-dashboard-edit-profile-body .row{

    display:flex;

    gap:14px;

    margin-bottom:14px;

    align-items:flex-end;

}

/* Default */

.ak-dashboard-edit-profile-body .col-md-2{

    flex:0 0 calc(16.666% - 12px);

}

.ak-dashboard-edit-profile-body .col-md-3{

    flex:0 0 calc(25% - 11px);

}

.ak-dashboard-edit-profile-body .col-md-4{

    flex:0 0 calc(33.333% - 10px);

}

.ak-dashboard-edit-profile-body .col-md-5{

    flex:0 0 calc(41.666% - 9px);

}

.ak-dashboard-edit-profile-body .col-md-6{

    flex:0 0 calc(50% - 7px);

}

/* ===== BARIS JENIS KELAMIN ===== */

.ak-dashboard-edit-profile-body .row:nth-of-type(2) .col-md-4:nth-child(1){

    flex:0 0 22%;

}

.ak-dashboard-edit-profile-body .row:nth-of-type(2) .col-md-4:nth-child(2){

    flex:0 0 18%;

}

.ak-dashboard-edit-profile-body .row:nth-of-type(2) .col-md-4:nth-child(3){

    flex:1;

}

/* ===== BARIS RT ===== */

.ak-dashboard-edit-profile-body .row:nth-of-type(4) .col-md-2{

    flex:0 0 11%;

}

.ak-dashboard-edit-profile-body .row:nth-of-type(4) .col-md-4:nth-child(3){

    flex:0 0 23%;

}

.ak-dashboard-edit-profile-body .row:nth-of-type(4) .col-md-4:nth-child(4){

    flex:1;

}

/* ===== BARIS KOTA ===== */

.ak-dashboard-edit-profile-body .row:nth-of-type(5) .col-md-5{

    flex:0 0 36%;

}

.ak-dashboard-edit-profile-body .row:nth-of-type(5) .col-md-4{

    flex:0 0 24%;

}

.ak-dashboard-edit-profile-body .row:nth-of-type(5) .col-md-3{

    flex:0 0 12%;

}

.ak-dashboard-edit-profile-body .mb-3{

    margin-bottom:14px;

}

.ak-dashboard-edit-profile-footer{

    display:flex;

    justify-content:flex-end;

    gap:14px;

    padding:18px 24px;

    background:#FFFFFF;

    border-top:1px solid #e5ece8;

}

#akDashboardEditProfileCancel{

    min-width:150px;

    height:46px;

    border:1px solid #d5dfd7;

    border-radius:10px;

    background:#FFFFFF;

    color:#14532d;

    font-weight:600;

    cursor:pointer;

    transition:.2s;

}

#akDashboardEditProfileCancel:hover{

    background:#eef6f1;

}

#akDashboardSaveProfileButton{

    min-width:190px;

    height:46px;

    border:none;

    border-radius:10px;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );

    color:#FFFFFF;

    font-size:15px;

    font-weight:700;

    cursor:pointer;

    transition:.25s;

    box-shadow:0 8px 18px rgba(15,81,50,.18);

}

#akDashboardSaveProfileButton:hover{

    transform:translateY(-1px);

}

@media (min-width:1025px){

    .ak-dashboard-edit-profile-content{

        width:1180px;

    }

}

@media (max-width:1024px){

    .ak-dashboard-edit-profile-content{

        width:96vw;

        max-height:90vh;

        overflow-y:auto;

    }

}

/* ==========================================================
   BUTTON EDIT PROFIL
========================================================== */

.ak-dashboard-edit-profile-button{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    border:none;

    border-radius:10px;

    background:rgba(255,255,255,.14);

    color:#FFFFFF;

    font-size:14px;

    font-weight:600;

    cursor:pointer;

    transition:all .25s ease;

}

.ak-dashboard-edit-profile-button i{

    width:18px;

    height:18px;

}

.ak-dashboard-edit-profile-button:hover{

    background:#FFFFFF;

    color:var(--primary);

    transform:translateY(-2px);

    box-shadow:0 10px 20px rgba(0,0,0,.18);

}

.ak-dashboard-edit-profile-button:active{

    transform:translateY(0);

}

.ak-dashboard-edit-profile-button:focus{

    outline:none;

    box-shadow:
        0 0 0 3px rgba(255,255,255,.18),
        0 0 0 6px rgba(20,83,45,.28);

}

/* ==========================================================
   HEADER BIODATA
========================================================== */

.ak-dashboard-biodata-header{

    display:flex;

    align-items:center;

    padding:16px 22px;

}

.ak-dashboard-biodata-title{

    margin:0;

    color:#FFFFFF;

    font-size:26px;

    font-weight:700;

}

.ak-dashboard-edit-profile-button{

    margin-left:auto;

    display:inline-flex;

    align-items:center;

    gap:8px;

}

@media (max-width:768px){

    .ak-dashboard-biodata-header{

        display:flex;

        align-items:center;

        justify-content:space-between;

        gap:12px;

    }

    .ak-dashboard-biodata-title{

        margin:0;

        font-size:22px;

        line-height:1.2;

    }

    .ak-dashboard-edit-profile-button{

        margin-left:auto;

        width:auto;

        min-width:auto;

        padding:8px 14px;

        border-radius:10px;

        gap:6px;

        font-size:13px;

        font-weight:600;

        white-space:nowrap;

        flex-shrink:0;

    }

    .ak-dashboard-edit-profile-button i{

        width:16px;

        height:16px;

    }

}

/* ==========================================================
   RESPONSIVE MODAL EDIT PROFIL
========================================================== */

/* ==========================================================
   TABLET
========================================================== */

@media (min-width:768px) and (max-width:1366px){

    .ak-dashboard-edit-profile-modal{

        display:flex;

        justify-content:center;

        align-items:center;

        padding:24px;

        box-sizing:border-box;

    }

    .ak-dashboard-edit-profile-content{

        width:90vw;

        max-width:960px;

        max-height:82vh;

        overflow-y:auto;

        overflow-x:hidden;

        border-radius:20px;

        margin:auto;

    }

    .ak-dashboard-edit-profile-header{

        padding:22px 28px;

    }

    .ak-dashboard-edit-profile-body{

        padding:24px 28px;

    }

    .ak-dashboard-edit-profile-footer{

        padding:20px 28px;

    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:767px){

    .ak-dashboard-edit-profile-modal{

        align-items:flex-start;

        overflow-y:auto;

        padding:14px 0;

    }

    .ak-dashboard-edit-profile-content{

        width:calc(100% - 24px);

        max-width:420px;

        max-height:92vh;

        display:flex;

        flex-direction:column;

        border-radius:20px;

    }

    .ak-dashboard-edit-profile-header{

        flex-shrink:0;

        padding:18px 20px;

    }

    .ak-dashboard-edit-profile-body{

        flex:1;

        overflow-y:auto;

        padding:18px;

    }

    .ak-dashboard-edit-profile-footer{

        flex-shrink:0;

        display:flex;

        flex-direction:column-reverse;

        gap:12px;

        padding:18px;

    }

    .ak-dashboard-edit-profile-footer button{

        width:100%;

    }

    .ak-dashboard-edit-profile-body .row{

        display:flex;

        flex-direction:column;

        gap:16px;

        margin-bottom:16px;

    }

    .ak-dashboard-edit-profile-body .col-md-2,
    .ak-dashboard-edit-profile-body .col-md-3,
    .ak-dashboard-edit-profile-body .col-md-4,
    .ak-dashboard-edit-profile-body .col-md-5,
    .ak-dashboard-edit-profile-body .col-md-6{

        flex:0 0 100%;

        width:100%;

        max-width:100%;

    }

}

.ak-dashboard-edit-profile-body::-webkit-scrollbar{

    width:8px;

}

.ak-dashboard-edit-profile-body::-webkit-scrollbar-thumb{

    background:#b7c9bc;

    border-radius:20px;

}

.ak-dashboard-edit-profile-body::-webkit-scrollbar-track{

    background:#eef4ef;

}

/* ==========================================================
   STICKY HEADER
   MOBILE & TABLET PORTRAIT
========================================================== */

@media (max-width:991.98px){

    .ak-content-header{

        position:sticky;

        top:0;

        z-index:900;

        background:linear-gradient(
            135deg,
            #14532d 0%,
            #166534 100%
        );

        padding:16px 20px;

        box-shadow:0 4px 16px rgba(0,0,0,.12);

    }

    .ak-content{

        overflow:visible;

    }

}

/* =========================================================
 * LOGOUT SIDEBAR
 * Pastikan warna Logout tetap putih
 * ========================================================= */

.ak-menu-item[data-action="logout"],
.ak-menu-item[data-action="logout"] .left,
.ak-menu-item[data-action="logout"] .left > span {
    color: #ffffff !important;
}


/* Icon Logout */

.ak-menu-item[data-action="logout"] svg {
    color: #ffffff !important;
    stroke: currentColor;
}


/* Hover Logout */

.ak-menu-item[data-action="logout"]:hover,
.ak-menu-item[data-action="logout"]:hover .left,
.ak-menu-item[data-action="logout"]:hover .left > span {
    color: #ffffff !important;
}


/* Icon saat hover */

.ak-menu-item[data-action="logout"]:hover svg {
    color: #ffffff !important;
    stroke: currentColor;
}


/* Focus */

.ak-menu-item[data-action="logout"]:focus,
.ak-menu-item[data-action="logout"]:focus .left,
.ak-menu-item[data-action="logout"]:focus .left > span {
    color: #ffffff !important;
}


/* Icon saat focus */

.ak-menu-item[data-action="logout"]:focus svg {
    color: #ffffff !important;
    stroke: currentColor;
}