
:root {
    --primary: #1976D2;
    --primary-light: #64B5F6;
    --primary-pale: #EAF4FF;
    --background: #F4F8FD;
    --text: #26364A;
    --muted: #8291A5;
    --border: #E5EDF6;
    --white: #FFFFFF;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    font-size: 14px;
}

a { text-decoration: none; }

.app-wrapper { min-height: 100vh; }

.sidebar {
    position: fixed;
    z-index: 1050;
    inset: 0 auto 0 0;
    width: 260px;
    display: flex;
    flex-direction: column;
    background: #fcffff;
    border-right: 1px solid var(--border);
    transition: transform .25s ease;
    overflow-y: auto;
	box-shadow: 5px 0 18px rgba(0,0,0,0.18);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 20px;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    background: var(--primary-pale);
    font-size: 23px;
}

.brand-text strong,
.brand-text small {
    display: block;
}

.brand-text strong { font-size: 17px; }
.brand-text small { color: var(--muted); font-size: 10px; }

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 18px;
}

.avatar, .navbar-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #DCEEFF;
    color: var(--primary);
    font-weight: 800;
}

.user-label { min-width: 0; }
.user-label strong, .user-label small { display: block; }
.user-label strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 12px;
}
.user-label small { color: var(--muted); margin-top: 4px; }

.sidebar-label {
    padding: 12px 20px 8px;
    color: #9AA9BA;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.sidebar-menu { padding: 0 12px; }

.menu-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    margin-bottom: 5px;
    border-radius: 10px;
    color: #60738A;
    font-size: 12px;
    transition: .2s;
}

.menu-item i {
    width: 20px;
    text-align: center;
    font-size: 15px;
}

.menu-item:hover,
.menu-item.active {
    background: var(--primary-pale);
    color: var(--primary);
    font-weight: 700;
}

.sidebar-bottom { margin-top: auto; padding: 16px; }

.privacy-note {
    padding: 12px;
    background: #F0F7FF;
    color: #53789F;
    border-radius: 10px;
    font-size: 10px;
    line-height: 1.6;
}

.privacy-note i { margin-right: 5px; }

.main-content {
    min-height: 100vh;
    margin-left: 260px;
    display: flex;
    flex-direction: column;
	
}

.top-navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 15px 28px;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--border);
}

.top-navbar h5 { font-size: 16px; font-weight: 800; color: #274C77; }
.top-navbar small { font-size: 11px; }

.profile-dropdown {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    font-size: 12px;
}

.content-area {
    flex: 1;
    padding: 26px;
}

.app-footer {
    padding: 17px;
    background: white;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 11px;
}

.sidebar-toggle { display: none; }

.welcome-card {
    padding: 28px;
    color: white;
    border-radius: 18px;
    background: linear-gradient(120deg, #1565C0, #64B5F6);
    box-shadow: 0 9px 24px rgba(25,118,210,.13);
}

.welcome-card h3 { font-size: 22px; font-weight: 800; }
.welcome-card p { margin: 8px 0 0; opacity: .9; }

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 100%;
    min-height: 112px;
    padding: 20px;
    border: 1px solid #EDF2F8;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(36,76,120,.035);
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 14px;
    font-size: 21px;
}

.stat-icon.blue { background: #E7F2FF; color: #1976D2; }
.stat-icon.green { background: #E7F7EE; color: #238653; }
.stat-icon.orange { background: #FFF1DF; color: #D98313; }
.stat-icon.purple { background: #F2E9FF; color: #8155C7; }

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.stat-card h3 {
    margin: 5px 0 0;
    font-size: 26px;
    font-weight: 800;
    color: #274C77;
}

.stat-card h5 {
    margin: 6px 0 0;
    font-size: 14px;
    font-weight: 800;
}

.dashboard-card {
    height: 100%;
    padding: 22px;
    border: 1px solid #EDF2F8;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(36,76,120,.035);
}

.card-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.card-heading h5 {
    margin: 0;
    color: #274C77;
    font-size: 14px;
    font-weight: 800;
}

.chart-container {
    position: relative;
    width: 100%;
    min-height: 250px;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: var(--primary-pale);
    color: var(--primary);
    font-size: 34px;
    font-weight: 800;
}

.table > :not(caption) > * > * {
    padding: 13px 12px;
    vertical-align: middle;
    font-size: 12px;
}

.form-control, .form-select {
    padding: 10px 12px;
    border-color: var(--border);
    border-radius: 9px;
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: #125BA5;
    border-color: #125BA5;
}

.sidebar-backdrop { display: none; }

@media (max-width: 991px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.sidebar-open { transform: translateX(0); }

    .main-content { margin-left: 0; }
    .sidebar-toggle { display: inline-block; }

    .sidebar-backdrop.backdrop-show {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1040;
        background: rgba(19,42,68,.4);
    }

    .content-area { padding: 18px; }
    .top-navbar { padding: 14px 18px; }
}

@media (max-width: 575px) {
    .profile-name { display: none; }
    .welcome-card { padding: 22px; }
    .welcome-card h3 { font-size: 18px; }
    .dashboard-card { padding: 16px; }
    .stat-card { padding: 15px; }
    .stat-card h3 { font-size: 22px; }
}


/* ========================================
   INOLAPS - MODERN LOGIN PAGE
======================================== */

.login-body {
    --login-primary: #7547c8;
    --login-primary-dark: #51309a;
    --login-pink: #f5a3ce;
    --login-text: #172444;
    --login-muted: #7c89a7;

    min-height: 100vh;
    margin: 0;
    color: var(--login-text);
    background:
        radial-gradient(ellipse at 5% 5%, #ffe6f1 0, transparent 35%),
        radial-gradient(ellipse at 95% 95%, #e7e4ff 0, transparent 35%),
        #f8f9ff;
    font-family: "Segoe UI", Arial, sans-serif;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-card {
    width: 100%;
    max-width: 1100px;
    min-height: 680px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    box-shadow: 0 24px 75px rgba(54, 45, 111, 0.13);
}

/* Panel kiri */

.login-brand {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 48px 38px;
    background:
        radial-gradient(ellipse at 20% 15%, #fff9ff 0, transparent 50%),
        linear-gradient(150deg, #eee4ff 0%, #fff0f7 58%, #f7eaff 100%);
}

.brand-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 390px;
    text-align: center;
}

.brand-logo {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-size: 38px;
    border-radius: 26px;
    background: linear-gradient(135deg, #f48bc0, #9255d9);
    box-shadow: 0 12px 28px rgba(145, 80, 191, 0.25);
    transform: rotate(-4deg);
}

.brand-title {
    margin: 0;
    color: #4e2b8e;
    font-size: clamp(34px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: 3px;
}

.brand-subtitle {
    margin-top: 10px;
    color: #70549f;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 1.5px;
}

.brand-divider {
    width: 52px;
    height: 4px;
    margin: 24px auto;
    border-radius: 10px;
    background: linear-gradient(90deg, #f08abf, #9b65dc);
}

.brand-heading {
    margin-bottom: 12px;
    color: #35245f;
    font-size: 25px;
    font-weight: 750;
    line-height: 1.4;
}

.brand-description {
    max-width: 330px;
    margin: 0 auto;
    color: #6f7295;
    font-size: 14px;
    line-height: 1.8;
}

/* Ilustrasi dekoratif */

.brand-illustration {
    position: relative;
    width: 190px;
    height: 145px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 12px;
}

.illustration-circle {
    position: absolute;
    width: 138px;
    height: 118px;
    border-radius: 45% 55% 55% 45%;
    background: linear-gradient(135deg, #f9d5ed, #e6d9ff);
    transform: rotate(-10deg);
}

.brand-illustration > i {
    position: relative;
    z-index: 1;
    color: #8b60ce;
    font-size: 90px;
    filter: drop-shadow(0 9px 8px rgba(104, 64, 161, 0.12));
}

.illustration-heart {
    position: absolute;
    z-index: 2;
    top: 26px;
    right: 13px;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    color: #fff;
    font-size: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fa91c3, #e66da8);
}

.illustration-sparkle {
    position: absolute;
    color: #b17be5;
    font-size: 25px;
}

.sparkle-one {
    top: 14px;
    left: 10px;
}

.sparkle-two {
    right: 1px;
    bottom: 14px;
}

.brand-features {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-top: 22px;
}

.feature-item {
    flex: 1;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 9px;
    padding: 0 10px;
    color: #69518f;
    font-size: 11px;
    font-weight: 600;
}

.feature-item + .feature-item {
    border-left: 1px solid rgba(114, 80, 159, 0.17);
}

.feature-item i {
    color: #8557c5;
    font-size: 22px;
}

.brand-decoration {
    position: absolute;
    width: 250px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.55;
    filter: blur(1px);
}

.decoration-one {
    bottom: -105px;
    left: -80px;
    background: #f7b9dc;
    transform: rotate(25deg);
}

.decoration-two {
    right: -140px;
    bottom: -95px;
    background: #d9c8ff;
}

/* Panel kanan */

.login-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 58px 56px;
    background: rgba(255, 255, 255, 0.97);
}

.login-form-inner {
    width: 100%;
    max-width: 420px;
}

.mobile-brand {
    display: none;
}

.welcome-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--login-primary);
    font-size: 21px;
    border-radius: 15px;
    background: #f0eaff;
}

.login-heading {
    margin: 0 0 10px;
    color: #172444;
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -0.8px;
}

.login-description {
    margin-bottom: 35px;
    color: var(--login-muted);
    font-size: 14px;
    line-height: 1.8;
}

.login-form .form-label {
    display: block;
    margin-bottom: 10px;
    color: #293657;
    font-size: 13px;
    font-weight: 700;
}

.login-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input-icon {
    position: absolute;
    z-index: 2;
    left: 17px;
    color: #9a8bb9;
    font-size: 16px;
    pointer-events: none;
}

.login-input {
    width: 100%;
    min-height: 54px;
    padding: 12px 48px 12px 46px;
    color: #293657;
    font-size: 14px;
    border: 1px solid #e0e3f0;
    border-radius: 13px !important;
    background: #fcfcff;
    box-shadow: none;
    transition: border-color 0.2s, box-shadow 0.2s,
                background-color 0.2s;
}

.login-input::placeholder {
    color: #a3abc0;
}

.login-input:focus {
    border-color: #a88ae4;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(117, 71, 200, 0.10);
    outline: none;
}

.password-toggle {
    position: absolute;
    z-index: 3;
    right: 8px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #8d96af;
    border: 0;
    border-radius: 10px;
    background: transparent;
}

.password-toggle:hover {
    color: var(--login-primary);
    background: #f3effc;
}

.btn-login {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 13px;
    background: linear-gradient(115deg, #9562d7, #6740b0);
    box-shadow: 0 9px 22px rgba(103, 64, 176, 0.20);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.btn-login i {
    transition: transform 0.2s;
}

.btn-login:hover {
    color: #fff;
    filter: brightness(1.05);
    box-shadow: 0 12px 26px rgba(103, 64, 176, 0.28);
    transform: translateY(-2px);
}

.btn-login:hover i {
    transform: translateX(4px);
}

.btn-login:active {
    transform: translateY(0);
}

.login-alert {
    margin-bottom: 22px;
    font-size: 13px;
    border-radius: 12px;
}

.login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    color: #8a92a8;
    font-size: 11px;
    text-align: center;
}

.login-security i {
    color: #8e6bc5;
}

.login-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 35px;
}

.login-footer span {
    flex: 1;
    height: 1px;
    background: #e9e8f2;
}

.login-footer p {
    margin: 0;
    color: #8991a9;
    font-size: 10px;
    white-space: nowrap;
}

/* Responsif tablet dan ponsel */

@media (max-width: 991.98px) {
    .login-wrapper {
        padding: 28px 18px;
    }

    .login-card {
        max-width: 570px;
        min-height: auto;
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .login-brand {
        padding: 35px 28px 30px;
    }

    .brand-logo {
        width: 64px;
        height: 64px;
        margin-bottom: 10px;
        font-size: 30px;
        border-radius: 20px;
    }

    .brand-title {
        font-size: 35px;
    }

    .brand-subtitle {
        margin-bottom: 0;
    }

    .brand-divider,
    .brand-heading,
    .brand-description,
    .brand-illustration,
    .brand-features {
        display: none;
    }

    .brand-decoration {
        width: 160px;
        height: 80px;
    }

    .login-form-panel {
        padding: 38px 36px 35px;
    }

    .welcome-icon {
        display: none;
    }

    .login-description {
        margin-bottom: 27px;
    }
}

@media (max-width: 575.98px) {
    .login-wrapper {
        padding: 16px 12px;
    }

    .login-card {
        border-radius: 20px;
    }

    .login-brand {
        display: none;
    }

    .login-form-panel {
        padding: 30px 23px 24px;
    }

    .mobile-brand {
        display: flex;
        align-items: center;
        gap: 11px;
        margin-bottom: 28px;
        color: #52338e;
        font-size: 21px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .mobile-brand-icon {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        color: #fff;
        font-size: 20px;
        border-radius: 13px;
        background: linear-gradient(135deg, #f48bc0, #9255d9);
    }

    .login-heading {
        font-size: 28px;
    }

    .login-description {
        font-size: 13px;
    }

    .login-input {
        min-height: 51px;
    }

    .btn-login {
        min-height: 52px;
    }

    .login-footer {
        gap: 8px;
        margin-top: 28px;
    }

    .login-footer p {
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .login-input,
    .btn-login,
    .btn-login i,
    .password-toggle {
        transition: none;
    }
}


.brand-logo {
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 24px;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.brand-logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    display: inline-flex;
    align-items: center;
}

.brand-name-img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.btn-parent {
    background: linear-gradient(135deg, #0d6efd, #55b4ef);
    color: #fff;
    margin-top: 12px;
    text-decoration: none;
	
}



.btn-parent:hover {
    background: linear-gradient(135deg, #0b5ed7, #2699dc);
    color: #fff;
    transform: translateY(-2px);
}


.login-divider-parent {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0;
    color: #0d6efd;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-align: center;
}

.login-divider-parent::before,
.login-divider-parent::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        #93c5fd,
        #2563eb
    );
}

.login-divider-parent::after {
    background: linear-gradient(
        to left,
        transparent,
        #93c5fd,
        #2563eb
    );
}


/* =========================
   MODERN PROFIL INOLAPS
========================= */

.profile-modern {
    background: linear-gradient(135deg, #eaf6ff, #ffffff);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid #d7eaff;
    box-shadow: 0 8px 28px rgba(30, 100, 180, 0.07);
}

.profile-modern .card {
    border: 1px solid #dcecff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(30, 100, 180, 0.06);
}

.profile-modern .card-header {
    background: linear-gradient(120deg, #dceeff, #f5fbff);
    color: #164e8a;
    border-bottom: 1px solid #d7eaff;
    padding: 16px 20px;
}

.profile-modern .card-header .card-title {
    font-weight: 700;
    margin: 0;
}

.profile-modern .card-body {
    padding: 22px;
}

.profile-modern .profile-user-img {
    width: 150px;
    height: 150px;
    border: 5px solid #e3f2ff;
    box-shadow: 0 5px 18px rgba(37, 99, 235, 0.15);
}

.profile-modern .profile-username {
    color: #174b83;
    font-weight: 750;
}

.profile-modern .text-muted {
    color: #71869f !important;
}

.profile-modern .form-control {
    border: 1px solid #d4e5f7;
    border-radius: 10px;
    background: #f8fbff;
    padding: 10px 13px;
}

.profile-modern .form-control:focus {
    border-color: #75b7ef;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.profile-modern .btn-primary {
    background: linear-gradient(120deg, #1769aa, #4aa8e8);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 10px 18px;
}

.profile-modern .btn-primary:hover {
    background: linear-gradient(120deg, #12578f, #268bd0);
}

.profile-modern .info-item {
    background: #f5faff;
    border: 1px solid #e0efff;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.profile-modern .info-label {
    display: block;
    color: #71869f;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
}

.profile-modern .info-value {
    color: #24466d;
    font-weight: 650;
    font-size: 14px;
}

.profile-modern .profile-avatar-preview {
    border: 4px solid #e5f3ff;
    box-shadow: 0 4px 12px rgba(30, 100, 180, .12);
}

.profile-modern .welcome-card {
    background: linear-gradient(120deg, #dceeff, #f5fbff);
    border: 1px solid #cde5fb;
    border-radius: 18px;
    padding: 25px;
    color: #174b83;
}

.profile-modern .welcome-card h3 {
    font-weight: 750;
    margin-bottom: 8px;
}

@media (max-width: 767px) {
    .profile-modern {
        padding: 12px;
    }

    .profile-modern .card-body {
        padding: 17px;
    }
}


/* ===== INOLAPS PREMIUM PROFILE ===== */

.profile-premium {
    background: #f4f9ff;
    padding: 20px;
    border-radius: 22px;
}

/* Avatar Card */
.profile-avatar-card {
    background: linear-gradient(145deg, #ffffff, #eaf5ff);
    border: 1px solid #d7eaff;
    border-radius: 22px;
    padding: 30px 22px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(35, 100, 180, .08);
}

.profile-avatar-premium {
    width: 155px;
    height: 155px;
    object-fit: cover;
    border-radius: 50%;
    border: 7px solid #dceeff;
    box-shadow: 0 8px 25px rgba(37, 99, 235, .15);
}

.profile-name {
    font-size: 22px;
    font-weight: 800;
    color: #174b83;
    margin-top: 18px;
}

.profile-role {
    color: #7890aa;
    font-size: 14px;
}

/* Badge */
.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    background: #dceeff;
    color: #1769aa;
    margin: 5px;
}

.profile-badge.active {
    background: #dcfce7;
    color: #15803d;
}

/* Panel */
.profile-panel {
    background: #fff;
    border: 1px solid #dcecff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 100, 180, .05);
    margin-bottom: 20px;
}

.profile-panel-header {
    background: linear-gradient(120deg, #e0f2ff, #f6fbff);
    border-bottom: 1px solid #dcecff;
    padding: 18px 22px;
    color: #174b83;
    font-weight: 750;
}

.profile-panel-body {
    padding: 22px;
}

/* Digital Student Identity */
.student-id-card {
    background: linear-gradient(135deg, #12346b, #1769aa, #5ab5ef);
    color: #fff;
    border-radius: 18px;
    padding: 25px;
    position: relative;
    overflow: hidden;
}

.student-id-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    right: -60px;
    top: -70px;
}

.student-id-card > * {
    position: relative;
    z-index: 1;
}

.student-id-title {
    font-size: 12px;
    letter-spacing: 1.5px;
    opacity: .8;
    font-weight: 700;
}

.student-id-name {
    font-size: 22px;
    font-weight: 800;
    margin: 15px 0;
}

.student-id-number {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
}

.student-id-class {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 30px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    font-weight: 700;
}

/* Detail Item */
.profile-detail-item {
    background: #f5faff;
    border: 1px solid #e0efff;
    border-radius: 13px;
    padding: 15px;
    height: 100%;
}

.profile-detail-label {
    font-size: 12px;
    color: #7b91a9;
    font-weight: 650;
    margin-bottom: 7px;
}

.profile-detail-value {
    color: #24466d;
    font-size: 14px;
    font-weight: 750;
}

/* Form */
.profile-premium .form-control {
    border-radius: 11px;
    border-color: #d4e5f7;
    background: #f8fbff;
}

.profile-premium .btn-primary {
    background: linear-gradient(120deg, #1769aa, #4aa8e8);
    border: none;
    border-radius: 11px;
    font-weight: 650;
}

@media (max-width: 767px) {
    .profile-premium {
        padding: 10px;
    }

    .profile-avatar-card {
        padding: 22px 15px;
    }

    .student-id-name {
        font-size: 18px;
    }
}

/* ===== NAMA PENGGUNA NAVBAR MINIMALIS ===== */

.user-label {
    display: flex;
    align-items: center;
    height: 100%;
}

.user-label strong {
    font-size: 11px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    letter-spacing: 0.2px;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* Tampilan lebih halus */
.user-label strong:hover {
    color: #2563eb !important;
}


/* ==================================
   HEADER PROFIL PENGGUNA INOLAPS
================================== */

.profile-welcome {
    position: relative;
    overflow: hidden;
    padding: 30px 35px;
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        #e0f2fe 0%,
        #e9e7ff 50%,
        #f3e8ff 100%
    );
    border: 1px solid rgba(167, 139, 250, 0.18);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.08);
}

/* Konten utama */
.profile-welcome-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Ikon profil */
.profile-welcome-icon {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        #60a5fa,
        #818cf8,
        #a78bfa
    );
    color: #ffffff;
    font-size: 30px;
    box-shadow: 0 8px 18px rgba(129, 140, 248, 0.28);
}

/* Label kecil */
.profile-welcome-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    margin-bottom: 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.75);
    color: #6366f1;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

/* Judul */
.profile-welcome-text h3 {
    margin: 0 0 8px;
    color: #334155;
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Deskripsi */
.profile-welcome-text p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

/* Dekorasi kanan */
.profile-welcome-decoration {
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 115px;
    color: rgba(129, 140, 248, 0.10);
    z-index: 1;
}

/* Responsif */
@media (max-width: 576px) {
    .profile-welcome {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .profile-welcome-content {
        gap: 15px;
    }

    .profile-welcome-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        border-radius: 15px;
        font-size: 23px;
    }

    .profile-welcome-text h3 {
        font-size: 19px;
    }

    .profile-welcome-text p {
        font-size: 12px;
    }

    .profile-welcome-decoration {
        right: 15px;
        font-size: 75px;
    }
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
}

.sidebar-user .avatar {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0d6efd;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}

.sidebar-user .user-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
}

.sidebar-user .user-label strong {
    display: block;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
}

.sidebar-user .user-label small {
    display: block;
    font-size: 11px;
    color: #adb5bd;
    margin-top: 3px;
    text-align: left;
}

/* Nama Pengguna - Elegant */
.profile-name-elegant {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 400;
    color: #475569;
    line-height: 1;
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-left: 2px;
    transition: color 0.25s ease;
}

/* Hover Nama Pengguna */
.profile-dropdown:hover .profile-name-elegant {
    color: #2563eb;
}

/* Center Vertikal Avatar dan Nama */
.profile-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

/* Responsive Mobile */
@media (max-width: 576px) {
    .profile-name-elegant {
        font-size: 12px;
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}