
: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;
}

