/*=========================================================================
    SEKOLAHIN MOBILE UI V5
    PART 1
    Foundation
=========================================================================*/


/*=========================================================================
ROOT
=========================================================================*/

:root{

    --primary:#FF0052;
    --primary-dark:#E6004A;
    --primary-light:#FFF0F5;

    --success:#22C55E;
    --warning:#F59E0B;
    --danger:#EF4444;
    --info:#3B82F6;

    --white:#FFFFFF;

    --background:#F8F9FC;

    --surface:#FFFFFF;

    --border:#ECEEF4;

    --text:#1F2937;

    --text-light:#6B7280;

    --text-soft:#94A3B8;

    --shadow-xs:
        0 1px 2px rgba(15,23,42,.03);

    --shadow-sm:
        0 4px 12px rgba(15,23,42,.05);

    --shadow:
        0 10px 30px rgba(15,23,42,.06);

    --shadow-lg:
        0 20px 50px rgba(15,23,42,.10);

    --radius-xs:10px;

    --radius-sm:16px;

    --radius:22px;

    --radius-lg:30px;

    --transition:.25s ease;

    --container:480px;

}


/*=========================================================================
RESET
=========================================================================*/

*,
*::before,
*::after{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

    -webkit-text-size-adjust:100%;

    -webkit-tap-highlight-color:transparent;

}

body{

    background:var(--background);

    color:var(--text);

    font-family:
        Inter,
        system-ui,
        sans-serif;

    font-size:15px;

    line-height:1.6;

    text-rendering:optimizeLegibility;

    -webkit-font-smoothing:antialiased;

}

img{

    display:block;

    max-width:100%;

}

svg{

    display:block;

}

button{

    font:inherit;

    cursor:pointer;

}

input,
textarea,
select{

    font:inherit;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}


/*=========================================================================
SCROLLBAR
=========================================================================*/

::-webkit-scrollbar{

    width:5px;

}

::-webkit-scrollbar-thumb{

    background:#DDD;

    border-radius:999px;

}


/*=========================================================================
APP SHELL
=========================================================================*/

.app-shell{

    width:100%;

    max-width:var(--container);

    margin:auto;

    min-height:100vh;

    background:#fff;

    position:relative;

    overflow:hidden;

}

.app-content{

    padding:

        18px

        18px

        110px;

}

.app-section{

    margin-top:28px;

}


/*=========================================================================
TYPOGRAPHY
=========================================================================*/

h1{

    font-size:34px;

    font-weight:800;

    line-height:1.25;

}

h2{

    font-size:26px;

    font-weight:800;

}

h3{

    font-size:20px;

    font-weight:700;

}

h4{

    font-size:17px;

    font-weight:700;

}

p{

    color:var(--text-light);

}


/*=========================================================================
LINK
=========================================================================*/

.link{

    color:var(--primary);

    font-weight:600;

}

.link:hover{

    text-decoration:underline;

}


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

.card{

    background:#fff;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

.card-body{

    padding:20px;

}

.card-header{

    padding:20px 20px 0;

}

.card-footer{

    padding:0 20px 20px;

}


/*=========================================================================
BUTTON
=========================================================================*/

.btn{

    min-height:48px;

    border:none;

    border-radius:999px;

    padding:0 24px;

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    transition:var(--transition);

    font-weight:700;

}

.btn svg{

    width:18px;

    height:18px;

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-dark);

}

.btn-outline{

    background:#fff;

    color:var(--primary);

    border:1px solid var(--primary);

}

.btn-outline:hover{

    background:var(--primary-light);

}

.btn-light{

    background:#fff;

    color:var(--primary);

}

.btn-light:hover{

    background:#F9FAFB;

}

.btn.w-100{

    width:100%;

}


/*=========================================================================
BADGE
=========================================================================*/

.badge{

    display:inline-flex;

    align-items:center;

    gap:6px;

    padding:8px 14px;

    border-radius:999px;

    background:var(--primary-light);

    color:var(--primary);

    font-size:12px;

    font-weight:700;

}

.badge-success{

    background:#ECFDF3;

    color:#15803D;

}

.badge-warning{

    background:#FFF7ED;

    color:#C2410C;

}

.badge-danger{

    background:#FEF2F2;

    color:#DC2626;

}


/*=========================================================================
ICON BOX
=========================================================================*/

.icon-box{

    width:54px;

    height:54px;

    border-radius:18px;

    background:var(--primary-light);

    color:var(--primary);

    display:flex;

    align-items:center;

    justify-content:center;

}

.icon-box svg{

    width:24px;

    height:24px;

}


/*=========================================================================
AVATAR
=========================================================================*/

.avatar{

    overflow:hidden;

    border-radius:50%;

    background:#F4F4F5;

}

.avatar img{

    width:100%;

    height:100%;

    object-fit:cover;

}

.avatar-sm{

    width:42px;

    height:42px;

}

.avatar{

    width:56px;

    height:56px;

}

.avatar-lg{

    width:76px;

    height:76px;

}


/*=========================================================================
DIVIDER
=========================================================================*/

.divider{

    height:1px;

    background:var(--border);

    margin:24px 0;

}


/*=========================================================================
HELPER
=========================================================================*/

.text-center{

    text-align:center;

}

.text-right{

    text-align:right;

}

.text-primary{

    color:var(--primary);

}

.text-muted{

    color:var(--text-light);

}

.text-soft{

    color:var(--text-soft);

}

.bg-primary{

    background:var(--primary);

}

.bg-white{

    background:#fff;

}

.rounded{

    border-radius:var(--radius);

}

.shadow{

    box-shadow:var(--shadow);

}

.hidden{

    display:none!important;

}

.w-100{

    width:100%;

}


/*=========================================================================
SPACING
=========================================================================*/

.mt-1{margin-top:8px;}
.mt-2{margin-top:16px;}
.mt-3{margin-top:24px;}
.mt-4{margin-top:32px;}
.mt-5{margin-top:40px;}

.mb-1{margin-bottom:8px;}
.mb-2{margin-bottom:16px;}
.mb-3{margin-bottom:24px;}
.mb-4{margin-bottom:32px;}
.mb-5{margin-bottom:40px;}

.pt-1{padding-top:8px;}
.pt-2{padding-top:16px;}
.pt-3{padding-top:24px;}
.pt-4{padding-top:32px;}

.pb-1{padding-bottom:8px;}
.pb-2{padding-bottom:16px;}
.pb-3{padding-bottom:24px;}
.pb-4{padding-bottom:32px;}


/*=========================================================================
ANIMATION
=========================================================================*/

.fade-in{

    animation:fadeIn .35s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(12px);

    }

    to{

        opacity:1;

        transform:none;

    }

}


/*=========================================================================
DESKTOP
=========================================================================*/

@media (min-width:768px){

    body{

        background:#EEF2F7;

    }

    .app-shell{

        margin:24px auto;

        border-radius:24px;

        box-shadow:

            0 30px 80px rgba(15,23,42,.12);

    }

}
/*=========================================================================
    SEKOLAHIN MOBILE UI V5
    PART 2A
    Header • Drawer • Search Header
=========================================================================*/


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

.app-header{

    position:sticky;

    top:0;

    z-index:1000;

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:64px;

    padding:
        env(safe-area-inset-top)
        18px
        0;

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

    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);

    border-bottom:1px solid var(--border);

}


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

.header-side{

    width:48px;

    display:flex;

    justify-content:center;

    align-items:center;

}


/*=========================================================================
LOGO
=========================================================================*/

.header-brand{

    position:absolute;

    left:50%;

    transform:translateX(-50%);

}

.header-logo{

    height:38px;

    width:auto;

    display:block;

}


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

.header-btn{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:transparent;

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--primary);

    transition:.25s;

}

.header-btn:hover{

    background:var(--primary-light);

}

.header-btn svg{

    width:21px;

    height:21px;

}


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

.header-search{

    padding:18px;

    background:#fff;

}

.header-search-box{

    position:relative;

}

.header-search-box input{

    width:100%;

    height:50px;

    border:none;

    border-radius:18px;

    background:#F6F7FB;

    padding-left:48px;

    padding-right:16px;

    outline:none;

}

.header-search-box svg{

    position:absolute;

    left:16px;

    top:50%;

    transform:translateY(-50%);

    width:20px;

    height:20px;

    color:#9CA3AF;

}


/*=========================================================================
DRAWER
=========================================================================*/

.mobile-drawer{

    position:fixed;

    inset:0;

    z-index:9999;

    visibility:hidden;

    opacity:0;

    transition:opacity .3s cubic-bezier(0.4, 0, 0.2, 1), visibility .3s cubic-bezier(0.4, 0, 0.2, 1);

    display:flex;

}

.mobile-drawer.active{

    visibility:visible;

    opacity:1;

}


/*=========================================================================
OVERLAY
=========================================================================*/

.drawer-overlay{

    position:absolute;

    inset:0;

    border:none;

    background:rgba(17,24,39,.45);

    transition:background .3s ease;

}

.mobile-drawer.active .drawer-overlay{

    background:rgba(17,24,39,.65);

}


/*=========================================================================
DRAWER PANEL
=========================================================================*/

.drawer-panel{

    position:fixed;

    left:0;

    top:0;

    width:min(85vw,340px);

    max-width:100%;

    height:100vh;

    background:#fff;

    overflow-y:auto;

    overflow-x:hidden;

    transform:translateX(-100%);

    transition:transform .35s cubic-bezier(0.34, 1.56, 0.64, 1);

    border-radius:0;

    box-shadow:0 10px 40px rgba(0,0,0,0.1);

    z-index:10000;

}

.mobile-drawer.active .drawer-panel{

    transform:translateX(0);

}


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

.drawer-head{

    position:sticky;

    top:0;

    padding:max(16px, env(safe-area-inset-top)) 20px 20px;

    border-bottom:1px solid var(--border);

    background:#fff;

    z-index:100;

    display:flex;

    align-items:center;

    gap:16px;

}

.brand-mark{

    flex-shrink:0;

    width:56px;

    height:56px;

    border-radius:12px;

    background:var(--primary-light);

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

}

.brand-mark img{

    width:90%;

    height:90%;

    object-fit:contain;

}

.drawer-head > div:last-child{

    flex:1;

}

.drawer-head strong{

    display:block;

    font-size:16px;

    margin-bottom:4px;

    color:var(--text);

}

.drawer-head p{

    font-size:12px;

    color:var(--text-light);

    margin:0;

    line-height:1.4;

}


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

.drawer-menu{

    padding:16px;

}

.drawer-shortcuts{

    display:grid;

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

    gap:12px;

    margin-bottom:20px;

}

.drawer-shortcut{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    padding:14px 12px;

    border-radius:14px;

    background:var(--background);

    border:1px solid var(--border);

    transition:.25s ease;

    cursor:pointer;

    font-size:13px;

    font-weight:600;

    color:var(--text);

    text-decoration:none;

}

.drawer-shortcut:active,

.drawer-shortcut:hover{

    background:var(--primary-light);

    color:var(--primary);

    border-color:var(--primary-light);

    transform:scale(0.98);

}

.drawer-shortcut i,

.drawer-shortcut [data-lucide]{

    width:24px;

    height:24px;

}

.drawer-list{

    display:grid;

    gap:6px;

}

.drawer-list li{

    list-style:none;

}

.drawer-list a{

    display:flex;

    align-items:center;

    gap:12px;

    min-height:48px;

    padding:0 16px;

    border-radius:12px;

    transition:.25s ease;

    font-weight:600;

    font-size:15px;

    color:var(--text);

    text-decoration:none;

}

.drawer-list a:active,

.drawer-list a:hover{

    background:var(--primary-light);

    color:var(--primary);

}

.drawer-list .current-menu-item>a,

.drawer-list .current_page_item>a{

    background:var(--primary-light);

    color:var(--primary);

}

.drawer-list [data-lucide]{

    width:22px;

    height:22px;

    flex-shrink:0;

}


/*=========================================================================
DRAWER SERVICES
=========================================================================*/

.drawer-services{

    padding:20px 16px;

    border-top:1px solid var(--border);

    display:grid;

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

    gap:12px;

}

.drawer-services a{

    display:flex;

    flex-direction:column;

    align-items:center;

    gap:8px;

    padding:12px;

    border-radius:12px;

    background:var(--background);

    text-decoration:none;

    transition:.25s ease;

    font-size:11px;

    color:var(--text-light);

    font-weight:600;

    text-align:center;

}

.drawer-services a:active,

.drawer-services a:hover{

    background:var(--primary-light);

    color:var(--primary);

}

.drawer-services [data-lucide]{

    width:28px;

    height:28px;

    color:currentColor;

}


/*=========================================================================
SAFE AREA
=========================================================================*/

@supports(padding:max(0px)){

    .app-header{

        padding-top:max(env(safe-area-inset-top),0px);

    }

}


/*=========================================================================
TABLET
=========================================================================*/

@media(min-width:768px){

    .drawer-panel{

        width:360px;

    }

}
/*=========================================================================
    SEKOLAHIN MOBILE UI V5
    PART 2B
    Bottom Navigation • Section • Search • Tabs
=========================================================================*/


/*=========================================================================
BOTTOM NAVIGATION
=========================================================================*/

.bottom-nav{

    position:fixed;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:100%;

    max-width:var(--container);

    height:74px;

    background:#fff;

    border-top:1px solid var(--border);

    display:flex;

    align-items:center;

    justify-content:space-around;

    z-index:999;

    padding-bottom:env(safe-area-inset-bottom);

}

.bottom-item{

    flex:1;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:4px;

    color:#94A3B8;

    transition:.25s;

    font-size:11px;

    font-weight:600;

}

.bottom-item svg{

    width:22px;

    height:22px;

}

.bottom-item:hover,

.bottom-item.is-active{

    color:var(--primary);

}


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

.bottom-menu{

    width:64px;

    height:64px;

    margin-top:-28px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

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

    transition:.25s;

}

.bottom-menu:hover{

    transform:translateY(-2px);

}

.bottom-menu svg{

    width:24px;

    height:24px;

}

.bottom-menu span{

    font-size:10px;

    margin-top:4px;

}


/*=========================================================================
SECTION TITLE
=========================================================================*/

.section-title{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:18px;

}

.section-heading{

    display:flex;

    align-items:center;

    gap:12px;

}

.section-icon{

    width:42px;

    height:42px;

    border-radius:14px;

    background:var(--primary-light);

    color:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

}

.section-icon svg{

    width:20px;

    height:20px;

}

.section-text h2{

    font-size:18px;

    margin:0;

}

.section-text small{

    display:block;

    color:var(--text-light);

    font-size:12px;

    margin-top:3px;

}

.section-action{

    display:flex;

    align-items:center;

    gap:4px;

    color:var(--primary);

    font-size:13px;

    font-weight:700;

}

.section-action svg{

    width:16px;

    height:16px;

}


/*=========================================================================
SEARCH COMPONENT
=========================================================================*/

.search{

    position:relative;

}

.search input{

    width:100%;

    height:52px;

    border:none;

    border-radius:18px;

    background:#F5F7FA;

    padding:0 18px 0 50px;

    outline:none;

    transition:.25s;

}

.search input:focus{

    background:#fff;

    box-shadow:0 0 0 2px rgba(255,0,82,.08);

}

.search svg{

    position:absolute;

    left:18px;

    top:50%;

    transform:translateY(-50%);

    width:20px;

    height:20px;

    color:#94A3B8;

}


/*=========================================================================
HERO SEARCH
=========================================================================*/

.hero-search{

    margin-top:24px;

}


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

.horizontal-menu{

    display:flex;

    gap:12px;

    overflow-x:auto;

    padding-bottom:4px;

    scrollbar-width:none;

}

.horizontal-menu::-webkit-scrollbar{

    display:none;

}

.horizontal-menu a{

    flex-shrink:0;

    padding:10px 18px;

    border-radius:999px;

    background:#F5F7FA;

    font-size:13px;

    font-weight:600;

}

.horizontal-menu a.active{

    background:var(--primary);

    color:#fff;

}


/*=========================================================================
TABS
=========================================================================*/

.tabs{

    display:flex;

    gap:10px;

    overflow-x:auto;

    scrollbar-width:none;

}

.tabs::-webkit-scrollbar{

    display:none;

}

.tab{

    flex-shrink:0;

    padding:10px 18px;

    border-radius:999px;

    background:#F5F7FA;

    font-size:13px;

    font-weight:600;

    transition:.25s;

}

.tab.active{

    background:var(--primary);

    color:#fff;

}


/*=========================================================================
BREADCRUMB
=========================================================================*/

.breadcrumb{

    display:flex;

    align-items:center;

    gap:8px;

    margin-bottom:18px;

    color:var(--text-light);

    font-size:13px;

}

.breadcrumb a{

    color:var(--primary);

}


/*=========================================================================
STICKY SECTION
=========================================================================*/

.sticky-top{

    position:sticky;

    top:64px;

    z-index:100;

    background:#fff;

}


/*=========================================================================
NOTIFICATION BADGE
=========================================================================*/

.notify{

    position:relative;

}

.notify::after{

    content:"";

    position:absolute;

    top:0;

    right:0;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--danger);

}


/*=========================================================================
FLOAT ACTION
=========================================================================*/

.fab{

    position:fixed;

    right:22px;

    bottom:96px;

    width:58px;

    height:58px;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:var(--shadow-lg);

    z-index:900;

}

.fab svg{

    width:24px;

    height:24px;

}


/*=========================================================================
CHIPS
=========================================================================*/

.chips{

    display:flex;

    gap:10px;

    overflow-x:auto;

    scrollbar-width:none;

}

.chips::-webkit-scrollbar{

    display:none;

}

.chip{

    flex-shrink:0;

    padding:8px 14px;

    border-radius:999px;

    background:#F3F4F6;

    font-size:12px;

    font-weight:600;

}

.chip.active{

    background:var(--primary);

    color:#fff;

}


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

@media(max-width:360px){

    .bottom-item span{

        font-size:10px;

    }

    .section-text h2{

        font-size:17px;

    }

}
/*=========================================================================
    SEKOLAHIN MOBILE UI V5
    PART 3
    HOME UI
=========================================================================*/


/*=========================================================================
HOME HERO
=========================================================================*/

.home-hero{

    padding:30px 22px;

    text-align:center;

    background:#fff;

}

.hero-container{

    max-width:380px;

    margin:auto;

}

.hero-logo{

    width:88px;

    height:88px;

    margin:auto;

    margin-bottom:18px;

}

.hero-logo img{

    width:100%;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 16px;

    background:var(--primary-light);

    color:var(--primary);

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.hero-badge svg{

    width:16px;

    height:16px;

}

.hero-title{

    margin-top:20px;

    margin-bottom:12px;

    font-size:34px;

    line-height:1.2;

}

.hero-description{

    max-width:330px;

    margin:auto;

    color:var(--text-light);

    line-height:1.8;

}

.hero-actions{

    display:flex;

    gap:12px;

    justify-content:center;

    margin-top:28px;

    flex-wrap:wrap;

}


/*=========================================================================
STATISTIC
=========================================================================*/

.hero-statistics{

    padding:0 20px;

}

.stats-grid{

    display:grid;

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

    gap:14px;

}

.stats-card{

    background:#fff;

    border-radius:22px;

    padding:22px;

    box-shadow:var(--shadow);

    text-align:center;

}

.stats-card small{

    color:var(--text-light);

    display:block;

    margin-bottom:8px;

}

.stats-card strong{

    font-size:30px;

    color:var(--primary);

}


/*=========================================================================
PPDB BANNER
=========================================================================*/

.ppdb-banner{

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

    border-radius:28px;

    padding:28px;

    color:#fff;

    overflow:hidden;

    position:relative;

}

.ppdb-banner::after{

    content:"";

    position:absolute;

    right:-60px;

    top:-60px;

    width:180px;

    height:180px;

    border-radius:50%;

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

}

.ppdb-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:8px 14px;

    border-radius:999px;

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

    margin-bottom:18px;

    font-size:12px;

    font-weight:700;

}

.ppdb-title{

    font-size:28px;

    color:#fff;

    line-height:1.3;

    margin-bottom:14px;

}

.ppdb-description{

    color:rgba(255,255,255,.92);

    line-height:1.8;

    margin-bottom:26px;

}

.ppdb-action .btn{

    background:#fff;

    color:var(--primary);

}


/*=========================================================================
SERVICE
=========================================================================*/

.service-grid{

    display:grid;

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

    gap:18px;

}

.service-card{

    text-align:center;

    transition:.25s;

}

.service-card:hover{

    transform:translateY(-3px);

}

.service-icon{

    width:62px;

    height:62px;

    margin:auto;

    margin-bottom:10px;

    border-radius:18px;

    background:var(--primary-light);

    color:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

}

.service-icon svg{

    width:26px;

    height:26px;

}

.service-title{

    display:block;

    font-size:12px;

    font-weight:700;

    line-height:1.5;

}


/*=========================================================================
INFO LIST
=========================================================================*/

.info-list{

    display:grid;

    gap:14px;

}

.info-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px;

    background:#fff;

    border-radius:20px;

    box-shadow:var(--shadow);

}

.info-left{

    display:flex;

    gap:14px;

    align-items:center;

}

.info-icon{

    width:50px;

    height:50px;

    border-radius:16px;

    background:var(--primary-light);

    color:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

}

.info-icon svg{

    width:22px;

    height:22px;

}

.info-left strong{

    display:block;

    margin-bottom:4px;

}

.info-left small{

    color:var(--text-light);

}

.info-arrow{

    color:#CBD5E1;

}


/*=========================================================================
CTA
=========================================================================*/

.cta-card{

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

    color:#fff;

    border-radius:30px;

    padding:34px;

    text-align:center;

}

.cta-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

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

    padding:8px 16px;

    border-radius:999px;

    font-size:12px;

    font-weight:700;

}

.cta-title{

    margin-top:20px;

    margin-bottom:16px;

    font-size:30px;

    line-height:1.3;

    color:#fff;

}

.cta-description{

    max-width:340px;

    margin:auto;

    color:rgba(255,255,255,.92);

    line-height:1.8;

}

.cta-buttons{

    margin-top:28px;

}

.cta-buttons .btn{

    background:#fff;

    color:var(--primary);

}


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

@media(max-width:420px){

    .hero-title{

        font-size:30px;

    }

    .service-grid{

        gap:14px;

    }

    .service-icon{

        width:56px;

        height:56px;

    }

    .service-title{

        font-size:11px;

    }

}

/*=========================================================================
SEKOLAHIN MOBILE APP REDESIGN
=========================================================================*/

:root{
    --container:460px;
    --primary:#ff3f86;
    --primary-dark:#ee2f75;
    --primary-light:#fff0f7;
    --background:#f5f7fb;
    --surface:#ffffff;
    --border:#edf0f6;
    --text:#334155;
    --text-light:#7b8798;
    --text-soft:#a8b2c1;
    --shadow:0 14px 34px rgba(51,65,85,.07);
}

body.sekolahin-body{
    background:#f1f5f9;
}

.app-shell{
    width:100%;
    max-width:460px;
    min-height:100vh;
    margin:0 auto;
    background:#fff;
    position:relative;
    overflow:hidden;
    box-shadow:0 22px 60px rgba(15,23,42,.08);
}

.app-content{
    padding:18px 18px 118px;
}

.app-header{
    max-width:460px;
    left:50%;
    transform:translateX(-50%);
    height:62px;
    padding:0 16px;
    border-bottom:1px solid #f3f4f8;
    box-shadow:0 8px 24px rgba(15,23,42,.025);
}

.header-left,
.header-right{
    width:48px;
    display:flex;
    align-items:center;
}

.header-right{
    justify-content:flex-end;
}

.header-center{
    flex:1;
    min-width:0;
    display:flex;
    justify-content:center;
}

.header-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    max-width:260px;
    color:#465064;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
}

.header-brand .custom-logo-link{
    display:flex;
    flex:0 0 auto;
}

.header-brand .custom-logo,
.header-logo{
    width:28px;
    height:28px;
    object-fit:contain;
}

.header-brand span:not(.header-mark){
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.header-mark{
    width:28px;
    height:28px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--primary-light);
    color:var(--primary);
}

.icon-button{
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:transparent;
    color:#64748b;
}

.icon-button svg{
    width:20px;
    height:20px;
}

.notification-button{
    position:relative;
    color:var(--primary);
}

.notification-badge{
    position:absolute;
    top:5px;
    right:4px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:var(--primary);
    color:#fff;
    border:2px solid #fff;
    font-size:9px;
    font-weight:800;
    line-height:1;
}

.home-hero{
    padding:24px 4px 8px;
    text-align:center;
    background:#fff;
}

.hero-logo{
    width:74px;
    height:74px;
    margin:0 auto 14px;
    border-radius:26px;
    display:grid;
    place-items:center;
    background:linear-gradient(180deg,#fff,#fff5f9);
    box-shadow:0 18px 34px rgba(255,63,134,.14);
}

.hero-logo img{
    width:54px;
    height:54px;
    object-fit:contain;
}

.hero-logo-fallback{
    color:var(--primary);
}

.hero-logo-fallback svg{
    width:36px;
    height:36px;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 14px;
    border-radius:999px;
    background:#fff0f7;
    color:var(--primary);
    font-size:11px;
    font-weight:800;
}

.hero-badge svg{
    width:14px;
    height:14px;
}

.hero-copy h1{
    max-width:340px;
    margin:16px auto 10px;
    color:#3b4251;
    font-size:25px;
    font-weight:900;
    line-height:1.22;
}

.hero-copy p{
    max-width:315px;
    margin:0 auto;
    color:#7b8798;
    font-size:13px;
    line-height:1.65;
}

.hero-search{
    width:min(100%,310px);
    min-height:48px;
    margin:22px auto 0;
    padding:0 18px;
    border-radius:999px;
    display:flex;
    align-items:center;
    gap:12px;
    background:#f7f8fb;
    color:#a4adba;
    font-size:12px;
    font-weight:700;
}

.hero-search svg{
    width:19px;
    height:19px;
    color:#b2bdca;
}

.hero-stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    max-width:315px;
    margin:22px auto 0;
}

.stat-card{
    padding:14px 12px;
    border:1px solid #f1f3f8;
    border-radius:8px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.035);
}

.stat-card strong{
    display:block;
    color:var(--primary);
    font-size:21px;
    line-height:1;
}

.stat-card span{
    display:block;
    margin-top:6px;
    color:#8a95a5;
    font-size:11px;
    font-weight:700;
}

.section-title{
    margin-bottom:14px;
}

.section-icon{
    width:34px;
    height:34px;
    border-radius:8px;
}

.section-text h2{
    font-size:16px;
    letter-spacing:0;
}

.service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.service-card{
    min-height:126px;
    padding:18px 12px;
    border:1px solid #f0f2f7;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.035);
}

.service-icon{
    width:42px;
    height:42px;
    margin:0 0 12px;
    border-radius:8px;
    background:#fff0f7;
}

.service-icon svg{
    width:21px;
    height:21px;
}

.service-title{
    color:#536072;
    font-size:13px;
    font-weight:800;
}

.ppdb-banner{
    min-height:156px;
    padding:22px;
    border-radius:8px;
    display:flex;
    align-items:center;
    gap:16px;
    background:linear-gradient(135deg,#ff3f86,#ff6fa5);
    box-shadow:0 18px 36px rgba(255,63,134,.16);
}

.ppdb-banner span{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.18);
    color:#fff;
    font-size:10px;
    font-weight:800;
}

.ppdb-banner h2{
    margin:12px 0 8px;
    color:#fff;
    font-size:20px;
    line-height:1.24;
}

.ppdb-banner p{
    margin:0 0 16px;
    color:rgba(255,255,255,.9);
    font-size:12px;
    line-height:1.55;
}

.ppdb-banner>i,
.ppdb-banner>svg{
    flex:0 0 auto;
    width:58px;
    height:58px;
    color:rgba(255,255,255,.8);
}

.ppdb-banner img{
    width:96px;
    height:96px;
    border-radius:8px;
    object-fit:cover;
}

.app-button,
.btn{
    min-height:42px;
    border-radius:999px;
    padding:0 16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border:0;
    background:var(--primary);
    color:#fff;
    font-size:12px;
    font-weight:800;
}

.ppdb-banner .app-button,
.ppdb-banner .btn{
    background:#fff;
    color:var(--primary);
}

.cta-card{
    padding:26px 18px;
    border:1px solid #ffd3e4;
    border-radius:8px;
    background:#fff;
    color:#3b4251;
    box-shadow:none;
}

.cta-icon{
    width:46px;
    height:46px;
    margin:0 auto 12px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
}

.cta-content h2{
    margin:10px 0;
    color:#3b4251;
    font-size:18px;
    line-height:1.3;
}

.cta-content p{
    max-width:315px;
    margin:0 auto;
    font-size:12px;
    line-height:1.65;
}

.cta-action{
    margin-top:18px;
}

.bottom-nav{
    max-width:460px;
    height:76px;
    border-top:1px solid #eef1f6;
    box-shadow:0 -10px 28px rgba(15,23,42,.045);
}

.bottom-item{
    min-width:0;
    color:#9aa4b2;
    font-size:10px;
    font-weight:800;
}

.bottom-item.is-active{
    color:var(--primary);
}

.bottom-menu{
    width:58px;
    height:58px;
    margin-top:-22px;
    border:5px solid #fff;
    border-radius:50%;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    background:var(--primary);
    color:#fff;
    box-shadow:0 14px 28px rgba(255,63,134,.24);
}

.bottom-menu-icon{
    width:auto;
    height:auto;
    background:transparent;
    box-shadow:none;
}

.bottom-menu svg{
    width:20px;
    height:20px;
}

.bottom-menu .bottom-label{
    display:none;
}

.notification-modal{
    position:fixed;
    inset:0;
    z-index:10000;
    display:flex;
    align-items:flex-end;
    justify-content:center;
    opacity:0;
    visibility:hidden;
    transition:.2s ease;
}

.notification-modal.active{
    opacity:1;
    visibility:visible;
}

.notification-overlay{
    position:absolute;
    inset:0;
    border:0;
    background:rgba(15,23,42,.38);
}

.notification-panel{
    position:relative;
    width:min(100%,460px);
    max-height:78vh;
    padding:18px;
    border-radius:22px 22px 0 0;
    background:#fff;
    overflow:auto;
    transform:translateY(20px);
    transition:.2s ease;
}

.notification-modal.active .notification-panel{
    transform:translateY(0);
}

.notification-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.notification-head span{
    color:var(--primary);
    font-size:11px;
    font-weight:800;
}

.notification-head h2{
    color:#344054;
    font-size:20px;
    line-height:1.2;
}

.notification-list{
    display:grid;
    gap:10px;
}

.notification-item{
    padding:14px;
    border:1px solid #f0f2f7;
    border-radius:8px;
    background:#fff;
}

.notification-item time{
    color:var(--primary);
    font-size:10px;
    font-weight:800;
}

.notification-item h3{
    margin:5px 0;
    color:#3b4251;
    font-size:14px;
    line-height:1.35;
}

.notification-item p,
.notification-empty p{
    color:#7b8798;
    font-size:12px;
    line-height:1.6;
}

.notification-empty{
    min-height:150px;
    display:grid;
    place-items:center;
    text-align:center;
}

.notification-empty svg{
    width:34px;
    height:34px;
    margin:0 auto 8px;
    color:#c2cad6;
}

@media(min-width:768px){
    .app-shell{
        margin:24px auto;
        border-radius:24px;
    }

    .app-header{
        top:24px;
        border-radius:24px 24px 0 0;
    }

    .bottom-nav{
        bottom:24px;
        border-radius:0 0 24px 24px;
    }
}

/*=========================================================================
SEKOLAHIN FULL SURFACE POLISH
=========================================================================*/

.page-wrap{
    display:grid;
    gap:18px;
}

.content-card,
.archive-head,
.login-card,
.service-result,
.scan-gate,
.attendance-scanner,
.form-panel,
.empty-state{
    border:1px solid #f0f2f7;
    border-radius:8px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.035);
}

.content-card{
    padding:18px;
    overflow:hidden;
}

.page-title,
.archive-head{
    display:flex;
    align-items:center;
    gap:12px;
    padding:16px;
}

.page-title{
    padding:0 0 16px;
    border-bottom:1px solid #f1f3f8;
}

.archive-head{
    display:block;
}

.page-title p,
.archive-head p{
    color:var(--primary);
    font-size:11px;
    font-weight:900;
    text-transform:uppercase;
}

.page-title h1,
.archive-head h1,
.post-body h1{
    margin:3px 0 0;
    color:#364153;
    font-size:22px;
    font-weight:900;
    line-height:1.22;
}

.back-link{
    width:38px;
    height:38px;
    flex:0 0 auto;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
}

.back-link svg{
    width:18px;
    height:18px;
}

.entry-content{
    color:#566274;
    font-size:14px;
    line-height:1.75;
}

.entry-content>*+*{
    margin-top:14px;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4{
    color:#364153;
    line-height:1.25;
}

.entry-content ul,
.entry-content ol{
    padding-left:20px;
}

.entry-content ul{
    list-style:disc;
}

.entry-content ol{
    list-style:decimal;
}

.post-list{
    display:grid;
    gap:12px;
}

.post-card{
    border:1px solid #f0f2f7;
    border-radius:8px;
    background:#fff;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(15,23,42,.035);
}

.post-card a{
    display:grid;
    grid-template-columns:96px 1fr;
    gap:12px;
    padding:10px;
    align-items:center;
}

.post-thumb{
    width:96px;
    height:86px;
    border-radius:8px;
    display:grid;
    place-items:center;
    overflow:hidden;
    background:#fff0f7;
    color:var(--primary);
}

.post-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.post-thumb-fallback{
    display:grid;
    place-items:center;
}

.post-thumb-fallback svg{
    width:28px;
    height:28px;
}

.post-card span,
.post-meta span{
    display:inline-flex;
    align-items:center;
    gap:5px;
    color:var(--primary);
    font-size:10px;
    font-weight:900;
}

.post-card span svg,
.post-meta span svg{
    width:13px;
    height:13px;
}

.post-card h2{
    margin:5px 0 4px;
    color:#364153;
    font-size:14px;
    font-weight:900;
    line-height:1.3;
}

.post-card p{
    color:#7b8798;
    font-size:12px;
    line-height:1.5;
}

.section-action{
    min-height:30px;
    padding:0 10px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    gap:3px;
    background:#fff0f7;
    color:var(--primary);
    font-size:11px;
    font-weight:900;
}

.section-action svg{
    width:14px;
    height:14px;
}

.section-text small{
    display:block;
    color:#9aa4b2;
    font-size:11px;
    font-weight:700;
}

.post-cover{
    width:100%;
    max-height:240px;
    object-fit:cover;
    border-radius:8px;
}

.post-body{
    padding:16px 0 0;
}

.post-meta{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:10px;
}

.pagination-wrap{
    display:flex;
    justify-content:center;
}

.pagination-wrap .nav-links{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}

.pagination-wrap a,
.pagination-wrap span{
    min-width:34px;
    height:34px;
    border:1px solid #f0f2f7;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff;
    color:#7b8798;
    font-size:12px;
    font-weight:900;
}

.pagination-wrap .current{
    border-color:var(--primary);
    background:var(--primary);
    color:#fff;
}

.mobile-drawer.hidden{
    visibility:hidden;
    opacity:0;
}

.drawer-panel{
    width:min(92vw,390px);
    padding:18px;
    border-radius:0 22px 22px 0;
}

.drawer-head{
    display:flex;
    gap:12px;
    align-items:center;
    padding:8px 4px 18px;
    border-bottom:1px solid #f1f3f8;
}

.brand-mark{
    width:44px;
    height:44px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
}

.drawer-head strong{
    color:#364153;
    font-size:15px;
}

.drawer-head p{
    color:#8a95a5;
    font-size:11px;
}

.drawer-menu{
    padding:14px 0;
}

.drawer-shortcuts{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:12px;
}

.drawer-shortcut{
    min-height:74px;
    border:1px solid #f0f2f7;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#fff;
    color:#536072;
    font-size:12px;
    font-weight:900;
}

.drawer-shortcut svg{
    width:22px;
    height:22px;
    color:var(--primary);
}

.drawer-list{
    gap:6px;
}

.drawer-list a{
    min-height:46px;
    border-radius:8px;
    color:#536072;
    font-size:13px;
    font-weight:800;
}

.drawer-services{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    padding-top:12px;
    border-top:1px solid #f1f3f8;
}

.drawer-services a{
    min-height:74px;
    border:1px solid #f0f2f7;
    border-radius:8px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:#536072;
    text-align:center;
    font-size:11px;
    font-weight:800;
}

.drawer-services svg{
    width:20px;
    height:20px;
    color:var(--primary);
}

.service-search,
.schedule-filter{
    display:grid;
    gap:10px;
    margin-bottom:14px;
}

.service-search label,
.schedule-filter label,
.login-card label,
.form-panel label,
.scan-gate label,
.scanner-manual label{
    color:#536072;
    font-size:12px;
    font-weight:900;
}

.service-search>div,
.scanner-manual>div,
.scan-gate>div{
    display:flex;
    gap:8px;
}

.service-search input,
.schedule-filter input,
.schedule-filter select,
.login-card input,
.login-card select,
.form-panel input,
.form-panel select,
.form-panel textarea,
.scan-gate input,
.scanner-manual input{
    width:100%;
    min-height:46px;
    border:1px solid #eef1f6;
    border-radius:999px;
    padding:0 15px;
    background:#f8fafc;
    color:#364153;
    outline:0;
    font-size:13px;
}

.form-panel textarea{
    min-height:110px;
    padding:12px 15px;
    border-radius:8px;
}

.service-search button,
.scanner-manual button{
    min-width:74px;
    border:0;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    background:var(--primary);
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.service-list{
    display:grid;
    gap:10px;
    margin-top:14px;
}

.service-list article,
.service-total,
.schedule-item{
    border:1px solid #f0f2f7;
    border-radius:8px;
    padding:14px;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.035);
}

.service-list article{
    display:grid;
    gap:4px;
}

.service-list article span,
.service-list article small,
.schedule-headline span,
.schedule-item small{
    color:var(--primary);
    font-size:10px;
    font-weight:900;
}

.service-list article strong,
.service-total strong,
.schedule-headline h3,
.schedule-item h4{
    color:#364153;
    font-size:15px;
    font-weight:900;
}

.service-list article b{
    color:#16a34a;
    font-size:13px;
}

.service-total{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.midtrans-button{
    width:100%;
    min-height:46px;
    margin-top:12px;
    border:0;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:var(--primary);
    color:#fff;
    font-size:13px;
    font-weight:900;
}

.schedule-app{
    display:grid;
    gap:14px;
}

.schedule-tabs{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}

.schedule-tabs a{
    min-height:42px;
    border:1px solid #f0f2f7;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:#fff;
    color:#7b8798;
    font-size:12px;
    font-weight:900;
}

.schedule-tabs a.is-active{
    border-color:var(--primary);
    background:#fff0f7;
    color:var(--primary);
}

.schedule-filter{
    grid-template-columns:1fr;
    padding:14px;
    border:1px solid #f0f2f7;
    border-radius:8px;
    background:#fff;
}

.schedule-filter .app-button{
    width:100%;
}

.schedule-headline{
    padding:4px 2px;
}

.schedule-list{
    display:grid;
    gap:10px;
}

.schedule-item{
    display:grid;
    grid-template-columns:82px 1fr;
    gap:12px;
    align-items:center;
}

.schedule-item time{
    min-height:58px;
    border-radius:8px;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
    text-align:center;
    font-size:11px;
    font-weight:900;
    line-height:1.3;
}

.schedule-item p{
    margin:2px 0 4px;
    color:#7b8798;
    font-size:12px;
}

.login-card,
.scan-gate,
.attendance-scanner,
.form-panel{
    display:grid;
    gap:12px;
    padding:16px;
}

.auth-head,
.scanner-head{
    display:flex;
    align-items:center;
    gap:12px;
}

.auth-head>span,
.scanner-head>svg{
    width:42px;
    height:42px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
}

.auth-head p,
.scanner-head span{
    color:var(--primary);
    font-size:11px;
    font-weight:900;
}

.auth-head h3,
.scanner-head h3,
.form-panel h3{
    color:#364153;
    font-size:17px;
    font-weight:900;
}

.login-card form,
.parent-register-form{
    display:grid;
    gap:12px;
}

.auth-submit,
.login-submit .button-primary{
    width:100%;
}

.auth-switch{
    text-align:center;
    font-size:12px;
}

.auth-switch a{
    color:var(--primary);
    font-weight:900;
}

.form-alert{
    padding:12px 14px;
    border-radius:8px;
    background:#eff6ff;
    color:#2563eb;
    font-size:12px;
    font-weight:800;
}

.form-alert.success{
    background:#ecfdf3;
    color:#15803d;
}

.form-alert.danger{
    background:#fef2f2;
    color:#dc2626;
}

.empty-state{
    padding:28px 18px;
    text-align:center;
}

.empty-icon{
    width:52px;
    height:52px;
    margin:0 auto 12px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
}

.empty-state h2{
    color:#364153;
    font-size:16px;
}

.empty-state p{
    max-width:280px;
    margin:6px auto 0;
    color:#7b8798;
    font-size:12px;
}

@media(max-width:380px){
    .post-card a{
        grid-template-columns:82px 1fr;
    }

    .post-thumb{
        width:82px;
        height:78px;
    }

    .schedule-item{
        grid-template-columns:1fr;
    }
}

/*=========================================================================
HEADER RESPONSIVE FIX
=========================================================================*/

.app-shell{
    isolation:isolate;
}

.app-header{
    position:sticky;
    top:0;
    left:auto;
    right:auto;
    transform:none;
    width:100%;
    max-width:none;
    min-height:62px;
    height:62px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr) 48px;
    align-items:center;
    gap:8px;
    padding:0 14px;
    margin:0;
    z-index:1000;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid #f3f4f8;
    border-radius:0;
    box-shadow:0 8px 24px rgba(15,23,42,.025);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);
    box-sizing:border-box;
}

.admin-bar .app-header{
    top:0;
}

.header-slot,
.header-left,
.header-right,
.header-center{
    min-width:0;
    display:flex;
    align-items:center;
}

.header-left{
    justify-content:flex-start;
}

.header-center{
    justify-content:center;
    overflow:hidden;
}

.header-right{
    justify-content:flex-end;
}

.header-brand{
    width:auto;
    max-width:100%;
    min-width:0;
    height:42px;
    padding:0 10px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    color:#465064;
    font-size:12px;
    font-weight:900;
    line-height:1;
    overflow:hidden;
}

.header-logo,
.header-brand .custom-logo{
    width:24px;
    height:24px;
    flex:0 0 24px;
    object-fit:contain;
}

.header-mark{
    width:28px;
    height:28px;
    flex:0 0 28px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:#fff0f7;
    color:var(--primary);
}

.header-mark svg{
    width:17px;
    height:17px;
}

.header-title{
    min-width:0;
    max-width:190px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    letter-spacing:0;
}

.icon-button{
    width:40px;
    height:40px;
    min-width:40px;
    min-height:40px;
    padding:0;
    border:0;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:transparent;
    color:#64748b;
    line-height:1;
    transition:background .18s ease,color .18s ease,transform .18s ease;
    appearance:none;
    -webkit-appearance:none;
}

.icon-button:hover,
.icon-button:focus-visible{
    background:#fff0f7;
    color:var(--primary);
    outline:0;
}

.icon-button:active{
    transform:scale(.96);
}

.icon-button svg{
    width:20px;
    height:20px;
    stroke-width:2.3;
}

.notification-button{
    position:relative;
    color:var(--primary);
}

.menu-button{
    color:#64748b;
}

.notification-badge{
    position:absolute;
    top:5px;
    right:3px;
    min-width:16px;
    height:16px;
    padding:0 4px;
    border:2px solid #fff;
    border-radius:999px;
    display:grid;
    place-items:center;
    background:var(--primary);
    color:#fff;
    font-size:9px;
    font-weight:900;
    line-height:1;
}

@media(min-width:768px){
    .app-header{
        top:0;
        border-radius:24px 24px 0 0;
    }

    .admin-bar .app-header{
        top:0;
    }
}

@media(max-width:380px){
    .app-header{
        grid-template-columns:42px minmax(0,1fr) 42px;
        gap:6px;
        padding:0 10px;
    }

    .icon-button{
        width:38px;
        height:38px;
        min-width:38px;
        min-height:38px;
    }

    .header-brand{
        padding:0 6px;
        font-size:11px;
    }

    .header-title{
        max-width:150px;
    }
}

@media(max-width:360px){
    .hero-copy h1{
        font-size:22px;
    }

    .service-card{
        min-height:116px;
    }
}

/* Consistent 8px interface radius */
.card,
.content-card,
.login-card,
.form-panel,
.service-card,
.service-list article,
.service-total,
.schedule-item,
.stat-card,
.stats-card,
.student-profile-card,
.student-barcode-card,
.metric-grid>div,
.notification-panel,
.notification-item,
.drawer-shortcut,
.drawer-list a,
.drawer-services a,
.ppdb-banner,
.cta-card,
.post-card,
.post-card a,
.service-result,
.scan-gate,
.attendance-scanner,
.schedule-tabs a,
.schedule-filter,
.parent-portal-head,
.saving-modal-panel{
    border-radius:8px;
}

button,
.button,
.app-button,
.btn,
.icon-button,
.service-search button,
.scanner-manual button,
.midtrans-button,
.schedule-filter .app-button,
.login-submit .button-primary,
.hero-search,
.hero-badge,
.drawer-shortcut,
.drawer-services a,
.service-search input,
.schedule-filter input,
.schedule-filter select,
.login-card input,
.login-card select,
.form-panel input,
.form-panel select,
.form-panel textarea,
.scan-gate input,
.scanner-manual input{
    border-radius:8px;
}

.header-logo{
    object-fit:contain;
}

.header-brand{
    justify-content:center;
    padding:0;
}

.header-brand .header-logo{
    width:auto;
    max-width:var(--header-logo-size,142px);
}

.hero-logo{
    width:min(70vw,var(--hero-image-size,190px));
    height:auto;
    margin:0 auto 14px;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    display:block;
}

.hero-logo img{
    width:100%;
    height:auto;
    display:block;
    object-fit:contain;
}

.service-section{
    overflow:hidden;
}

.service-slider{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:86px;
    gap:10px;
    overflow-x:auto;
    padding:2px 2px 10px;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}

.service-slider::-webkit-scrollbar{
    display:none;
}

.service-slider .service-card{
    min-height:92px;
    padding:10px 8px;
    scroll-snap-align:start;
}

.service-slider .service-icon{
    width:36px;
    height:36px;
    margin-bottom:8px;
}

.service-slider .service-icon svg{
    width:18px;
    height:18px;
}

.service-slider .service-title{
    font-size:11px;
    line-height:1.2;
}

.auth-methods{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}

/* Final app interaction polish */
.app-shell{
    padding-top:62px;
}

.app-header{
    position:fixed;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:460px;
}

.admin-bar .app-header{
    top:32px;
}

.hero-student-search{
    max-width:360px;
    margin:22px auto 0;
    display:grid;
    gap:8px;
    text-align:left;
}

.hero-student-search label{
    color:#536072;
    font-size:12px;
    font-weight:900;
}

.hero-student-search div{
    display:flex;
    gap:8px;
    padding:5px;
    border:1px solid #eef1f6;
    border-radius:8px;
    background:#f8fafc;
}

.hero-student-search input{
    min-width:0;
    flex:1;
    border:0;
    background:transparent;
    padding:0 10px;
    color:#263244;
    font-size:13px;
    outline:0;
}

.hero-student-search button{
    min-height:40px;
    padding:0 13px;
    border:0;
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:var(--primary);
    color:#fff;
    font-size:12px;
    font-weight:900;
}

.hero-student-search button svg{
    width:17px;
    height:17px;
}

.service-section{
    padding-inline:16px;
}

.service-slider{
    grid-auto-columns:82px;
    gap:9px;
    padding:2px 2px 12px;
}

.service-slider .service-card{
    width:82px;
    min-height:86px;
    padding:9px 7px;
}

.service-slider .service-icon{
    width:34px;
    height:34px;
    margin-bottom:7px;
}

.service-slider .service-title{
    font-size:10.5px;
    line-height:1.18;
}

.bottom-item:nth-last-child(2){
    color:#475569;
}

.bottom-item:nth-last-child(2).is-active,
.bottom-item:nth-last-child(2):hover{
    color:var(--primary);
}

.mobile-drawer{
    align-items:flex-start;
}

.drawer-overlay{
    inset:0;
}

.drawer-panel{
    width:100%;
    max-width:460px;
    max-height:min(82vh,640px);
    margin:0 auto;
    border-radius:0 0 8px 8px;
    transform:translateY(-110%);
    overflow-y:auto;
}

.mobile-drawer.active .drawer-panel{
    transform:translateY(0);
}

.auth-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
}

.auth-actions .app-button{
    width:100%;
    justify-content:center;
}

.parent-otp-field[hidden],
.parent-password-field[hidden],
.parent-send-otp[hidden]{
    display:none !important;
}

@media(max-width:782px){
    .admin-bar .app-header{
        top:46px;
    }
}

@media(max-width:420px){
    .hero-student-search div{
        gap:6px;
    }

    .hero-student-search button span{
        display:none;
    }

    .auth-actions{
        grid-template-columns:1fr;
    }
}

.auth-methods label{
    margin:0;
}

.auth-methods input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.auth-methods span{
    min-height:42px;
    border:1px solid #eef1f6;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    background:#f8fafc;
    color:#536072;
    font-size:12px;
    font-weight:900;
}

.auth-methods input:checked+span{
    border-color:var(--primary);
    background:#fff0f7;
    color:var(--primary);
}

.auth-methods svg{
    width:16px;
    height:16px;
}

.brand-mark img{
    width:100%;
    height:100%;
    object-fit:contain;
}

.hero-badge img{
    width:22px;
    height:22px;
    object-fit:contain;
}

.parent-portal-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
    padding:14px;
    border:1px solid #f0f2f7;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.035);
}

.parent-portal-head span{
    display:block;
    color:var(--primary);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}

.parent-portal-head h3{
    margin:2px 0 0;
    color:#364153;
    font-size:15px;
    font-weight:900;
}

.saving-modal{
    position:fixed;
    inset:0;
    z-index:9999;
    display:grid;
    place-items:end center;
    padding:18px;
}

.saving-modal-overlay{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    border:0;
    background:rgba(15,23,42,.45);
}

.saving-modal-panel{
    position:relative;
    z-index:1;
    width:min(100%,420px);
    padding:16px;
    background:#fff;
    box-shadow:0 22px 70px rgba(15,23,42,.25);
}

.saving-modal-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:14px;
}

.saving-modal-head span,
.saving-modal-form label{
    color:var(--primary);
    font-size:10px;
    font-weight:900;
    text-transform:uppercase;
}

.saving-modal-head h3{
    margin:2px 0 0;
    color:#364153;
    font-size:17px;
    font-weight:900;
}

.saving-modal-form{
    display:grid;
    gap:10px;
}

.saving-modal-form input{
    width:100%;
    min-height:46px;
    border:1px solid #eef1f6;
    border-radius:8px;
    padding:0 15px;
    background:#f8fafc;
    color:#364153;
    font-size:14px;
    outline:0;
}

.saving-modal-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}
