/* ==========================================================
   SNPMB VERIFICATION CENTER
   STYLE.CSS
   PART 1 - GLOBAL, RESET, SIDEBAR & DASHBOARD
========================================================== */

/* ==========================================================
   RESET
========================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter','Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
    background:#eef3f8;
    color:#2c3e50;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

button,
input,
textarea,
select{
    font-family:inherit;
}

/* ==========================================================
   SIDEBAR
========================================================== */

.sidebar{

    position:fixed;

    top:0;
    left:0;

    width:260px;
    height:100vh;

    background:#003b8e;

    color:#ffffff;

    padding:25px;

    z-index:1000;

    overflow-y:auto;

    box-shadow:3px 0 20px rgba(0,0,0,.08);

}

.brand{

    text-align:center;

    margin-bottom:40px;

}

.brand img{

    width:78px;

    margin:0 auto 12px;

}

.brand h4{

    color:#ffffff;

    font-size:20px;

    font-weight:700;

    margin-bottom:5px;

}

.brand span{

    font-size:13px;

    color:rgba(255,255,255,.80);

}

/* ==========================================================
   SIDEBAR MENU
========================================================== */

.sidebar ul{

    list-style:none;

    padding:0;

    margin:0;

}

.sidebar li{

    margin-bottom:8px;

}

.sidebar a{

    display:flex;

    align-items:center;

    gap:12px;

    color:#ffffff;

    padding:13px 18px;

    border-radius:10px;

    transition:.25s;

    font-weight:500;

}

.sidebar a:hover{

    background:rgba(255,255,255,.12);

}

.sidebar .active a{

    background:#0d6efd;

    box-shadow:0 8px 20px rgba(13,110,253,.25);

}

/* ==========================================================
   MAIN CONTENT
========================================================== */

.main{

    margin-left:260px;

    padding:35px;

    min-height:100vh;

}

.topbar{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:30px;

}

.user{

    background:#ffffff;

    padding:12px 18px;

    border-radius:12px;

    box-shadow:0 3px 15px rgba(0,0,0,.08);

}

/* ==========================================================
   STAT CARD
========================================================== */

.stat-card{

    background:#ffffff;

    border-radius:16px;

    padding:25px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

    transition:.25s;

}

.stat-card:hover{

    transform:translateY(-5px);

}

.stat-card h6{

    color:#7a8794;

    margin-bottom:8px;

}

.stat-card h2{

    font-weight:700;

    margin:0;

}

.stat-card i{

    font-size:40px;

    color:#0056b3;

}

/* ==========================================================
   SEARCH PANEL
========================================================== */

.search-box{

    margin-top:35px;

    background:#ffffff;

    padding:30px;

    border-radius:16px;

    box-shadow:0 8px 25px rgba(0,0,0,.06);

}

#keyword{

    height:52px;

    font-size:16px;

}

/* ==========================================================
   STUDENT CARD
========================================================== */

.student-card{

    margin-top:20px;

    background:#ffffff;

    border:1px solid #dfe6ef;

    border-radius:14px;

    padding:22px;

    transition:.25s;

}

.student-card:hover{

    border-color:#0d6efd;

    box-shadow:0 10px 25px rgba(13,110,253,.10);

}

.student-name{

    font-size:21px;

    font-weight:700;

    color:#003b8e;

}

.student-info{

    margin-top:10px;

    color:#666;

    line-height:1.8;

}

/* ==========================================================
   PART 2
   PORTAL LOGIN PEMERINTAH
========================================================== */

/* ==========================================================
   LOGIN PAGE
========================================================== */

body.login-page{

    background:#eef3f8;

    color:#2c3e50;

    font-family:'Inter','Segoe UI',sans-serif;

}

/* ==========================================================
   TOP STRIP
========================================================== */

.top-strip{

    background:#083b8a;

    color:#ffffff;

    font-size:13px;

    padding:8px 0;

}

.top-strip .container-fluid{

    max-width:1400px;

}

.top-strip .d-flex{

    min-height:24px;

}

.top-strip i{

    margin-right:6px;

    color:#ffd54f;

}

#serverClock{

    font-weight:700;

    letter-spacing:1px;

}

/* ==========================================================
   HEADER
========================================================== */

.portal-header{

    background:#ffffff;

    border-top:5px solid #0d6efd;

    border-bottom:1px solid #dfe6ef;

    padding:22px 0;

    box-shadow:0 2px 10px rgba(0,0,0,.05);

}

.portal-header .container-fluid{

    max-width:1400px;

}

/* ==========================================================
   BRAND
========================================================== */

.portal-brand{

    display:flex;

    align-items:center;

    gap:20px;

}

.portal-logo{

    width:78px;

    height:78px;

    object-fit:contain;

}

.portal-badge{

    display:inline-block;

    background:#eaf3ff;

    color:#0b4ea2;

    padding:5px 12px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

    letter-spacing:.6px;

    margin-bottom:10px;

}

.portal-brand h1{

    margin:0;

    font-size:30px;

    font-weight:700;

    color:#0b4ea2;

}

.portal-brand p{

    margin-top:8px;

    margin-bottom:0;

    color:#64748b;

    font-size:15px;

    line-height:1.6;

}

/* ==========================================================
   STATUS SISTEM
========================================================== */

.system-status{

    display:inline-flex;

    align-items:center;

    gap:10px;

    background:#e9f8ee;

    color:#198754;

    padding:10px 18px;

    border-radius:40px;

    font-size:14px;

    font-weight:700;

}

.status-dot{

    width:10px;

    height:10px;

    border-radius:50%;

    background:#22c55e;

    animation:pulse 1.5s infinite;

}

.build-info{

    margin-top:12px;

    color:#6c757d;

    font-size:14px;

}

@keyframes pulse{

    0%{

        box-shadow:0 0 0 0 rgba(34,197,94,.7);

    }

    70%{

        box-shadow:0 0 0 12px rgba(34,197,94,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(34,197,94,0);

    }

}

/* ==========================================================
   NAVIGATION
========================================================== */

.portal-nav{

    background:#ffffff;

    border-bottom:1px solid #dfe6ef;

}

.portal-nav ul{

    display:flex;

    align-items:center;

    list-style:none;

    margin:0;

    padding:0;

}

.portal-nav li{

    margin-right:35px;

}

.portal-nav a{

    display:block;

    padding:15px 0;

    color:#3b4d61;

    font-weight:600;

    transition:.25s;

}

.portal-nav a:hover{

    color:#0b4ea2;

}

.portal-nav .active{

    color:#0b4ea2;

    border-bottom:3px solid #0b4ea2;

}

/* ==========================================================
   ANNOUNCEMENT BAR
========================================================== */

.announcement{

    background:#fff7df;

    border-bottom:1px solid #ffe08a;

    color:#7b5d00;

    padding:10px 0;

    font-size:14px;

}

.announcement i{

    color:#f4b400;

    margin-right:8px;

}

/* ==========================================================
   PART 3
   MAIN CONTENT & GOVERNMENT INFORMATION
========================================================== */

/* ==========================================================
   MAIN CONTENT
========================================================== */

.portal-main{

    padding:45px 0 70px;

}

.portal-main .container{

    max-width:1320px;

}

/* ==========================================================
   GOVERNMENT CARD
========================================================== */

.government-card{

    background:#ffffff;

    border:1px solid #dce6f2;

    border-radius:18px;

    padding:40px;

    box-shadow:0 10px 35px rgba(0,0,0,.06);

}

/* ==========================================================
   SECTION TITLE
========================================================== */

.section-title{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:8px 18px;

    background:#edf5ff;

    color:#0b4ea2;

    border-radius:40px;

    font-size:13px;

    font-weight:700;

    letter-spacing:.5px;

    margin-bottom:25px;

}

.section-title i{

    font-size:15px;

}

/* ==========================================================
   TITLE
========================================================== */

.portal-heading{

    font-size:34px;

    font-weight:700;

    color:#163a63;

    line-height:1.35;

    margin-bottom:18px;

}

/* ==========================================================
   DESCRIPTION
========================================================== */

.portal-description{

    font-size:16px;

    line-height:1.9;

    color:#66788a;

    margin-bottom:35px;

}

/* ==========================================================
   FEATURE CARD
========================================================== */

.feature-card{

    display:flex;

    align-items:flex-start;

    gap:16px;

    background:#f8fbff;

    border:1px solid #dce8f6;

    border-radius:14px;

    padding:18px;

    height:100%;

    transition:.25s;

}

.feature-card:hover{

    transform:translateY(-4px);

    border-color:#0b4ea2;

    background:#ffffff;

    box-shadow:0 10px 25px rgba(11,78,162,.10);

}

/* ==========================================================
   FEATURE ICON
========================================================== */

.feature-card i{

    width:54px;

    height:54px;

    border-radius:14px;

    background:#0b4ea2;

    color:#ffffff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    flex-shrink:0;

}

/* ==========================================================
   FEATURE TEXT
========================================================== */

.feature-card h6{

    margin:0 0 6px;

    font-size:15px;

    font-weight:700;

    color:#17385d;

}

.feature-card small{

    display:block;

    color:#6b7a8a;

    font-size:13px;

    line-height:1.7;

}

/* ==========================================================
   SYSTEM NOTICE
========================================================== */

.system-notice{

    margin-top:35px;

    background:#fff8e8;

    border:1px solid #ffd978;

    border-left:5px solid #f4b400;

    border-radius:12px;

    padding:18px 22px;

    color:#6c5600;

    line-height:1.8;

}

.system-notice i{

    color:#d68900;

    margin-right:8px;

}

/* ==========================================================
   HIGHLIGHT BOX
========================================================== */

.highlight-box{

    margin-top:25px;

    background:#eef6ff;

    border-left:5px solid #0b4ea2;

    border-radius:12px;

    padding:20px;

}

.highlight-box strong{

    color:#0b4ea2;

}

.highlight-box p{

    margin:8px 0 0;

    color:#64748b;

    line-height:1.8;

}

/* ==========================================================
   MINI STATUS CARD
========================================================== */

.mini-status{

    display:flex;

    align-items:center;

    gap:15px;

    background:#ffffff;

    border-radius:12px;

    border:1px solid #dde7f2;

    padding:18px;

    box-shadow:0 4px 18px rgba(0,0,0,.05);

}

.mini-status i{

    font-size:26px;

    color:#0b4ea2;

}

.mini-status strong{

    display:block;

    font-size:16px;

    color:#17385d;

}

.mini-status small{

    color:#7b8794;

}

/* ==========================================================
   PART 4
   LOGIN CARD
========================================================== */

/* ==========================================================
   LOGIN CARD
========================================================== */

.login-card{

    position:relative;

    overflow:hidden;

    background:#ffffff;

    border:1px solid #dfe7ef;

    border-radius:18px;

    padding:40px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

}

.login-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        #0b4ea2,
        #2a78d8
    );

}

/* ==========================================================
   LOGIN HEADER
========================================================== */

.login-header{

    text-align:center;

    margin-bottom:30px;

}

.login-logo{

    width:90px;

    height:90px;

    object-fit:contain;

    margin:0 auto 18px;

}

.login-header h3{

    font-size:28px;

    font-weight:700;

    color:#0b4ea2;

    margin-bottom:8px;

}

.login-header p{

    color:#6c7a89;

    font-size:15px;

    line-height:1.7;

    margin:0;

}

/* ==========================================================
   FORM LABEL
========================================================== */

.login-card label{

    display:block;

    margin-bottom:8px;

    font-size:14px;

    font-weight:600;

    color:#34495e;

}

/* ==========================================================
   INPUT GROUP
========================================================== */

.login-card .input-group{

    margin-bottom:18px;

}

.login-card .input-group-text{

    width:54px;

    justify-content:center;

    background:#0b4ea2;

    color:#ffffff;

    border:1px solid #0b4ea2;

    border-radius:10px 0 0 10px;

}

.login-card .form-control{

    height:54px;

    border:1px solid #d6e2ef;

    border-left:none;

    border-radius:0 10px 10px 0;

    font-size:15px;

    box-shadow:none;

    transition:.25s;

}

.login-card .form-control::placeholder{

    color:#9aa7b5;

}

.login-card .form-control:focus{

    border-color:#0b4ea2;

    box-shadow:0 0 0 .18rem rgba(11,78,162,.15);

}

/* ==========================================================
   BUTTON LOGIN
========================================================== */

.btn-login{

    width:100%;

    height:56px;

    border:none;

    border-radius:10px;

    background:#0b4ea2;

    color:#ffffff;

    font-size:16px;

    font-weight:600;

    transition:.25s;

}

.btn-login:hover{

    background:#083b8a;

    transform:translateY(-2px);

    box-shadow:0 12px 28px rgba(11,78,162,.22);

}

.btn-login:active{

    transform:scale(.98);

}

/* ==========================================================
   ALERT
========================================================== */

.login-card .alert{

    border:none;

    border-radius:10px;

    font-size:14px;

    padding:14px 18px;

    margin-top:18px;

}

/* ==========================================================
   LOGIN DIVIDER
========================================================== */

.login-card hr{

    margin:28px 0;

    border-color:#e5edf5;

}

/* ==========================================================
   SECURITY INFORMATION
========================================================== */

.security-info{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:25px;

}

.security-item{

    display:flex;

    align-items:center;

    gap:14px;

    padding:14px 16px;

    background:#f8fbff;

    border:1px solid #dbe8f7;

    border-radius:10px;

    transition:.25s;

}

.security-item:hover{

    background:#eef6ff;

    border-color:#0b4ea2;

}

.security-item i{

    width:36px;

    height:36px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#0b4ea2;

    color:#ffffff;

    font-size:14px;

    flex-shrink:0;

}

.security-item strong{

    display:block;

    font-size:14px;

    color:#17385d;

}

.security-item small{

    color:#7b8794;

}

/* ==========================================================
   LOADING SCREEN
========================================================== */

#loadingScreen{

    position:fixed;

    inset:0;

    background:rgba(11,78,162,.94);

    display:none;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    color:#ffffff;

    z-index:99999;

}

#loadingScreen .spinner-border{

    width:70px;

    height:70px;

}

#loadingScreen h5{

    margin-top:20px;

    font-weight:600;

}

#loadingScreen p{

    margin-top:8px;

    opacity:.9;

}

/* ==========================================================
   PART 5
   PORTAL FOOTER, COPYRIGHT & ANIMATION
========================================================== */

/* ==========================================================
   PORTAL FOOTER
========================================================== */

.portal-footer{

    margin-top:70px;

    background:#0b3d91;

    color:#ffffff;

    border-top:5px solid #f4c542;

    padding:50px 0 25px;

}

.portal-footer .container{

    max-width:1320px;

}

.portal-footer h5{

    font-size:21px;

    font-weight:700;

    margin-bottom:15px;

}

.portal-footer p{

    color:rgba(255,255,255,.88);

    line-height:1.9;

    margin-bottom:0;

}

/* ==========================================================
   FOOTER VERSION
========================================================== */

.footer-version{

    display:inline-flex;

    align-items:center;

    gap:8px;

    background:rgba(255,255,255,.12);

    color:#ffffff;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;

    font-weight:600;

    margin-bottom:15px;

}

.footer-version i{

    color:#ffd54f;

}

/* ==========================================================
   FOOTER DIVIDER
========================================================== */

.portal-footer hr{

    border-color:rgba(255,255,255,.15);

    margin:30px 0;

}

/* ==========================================================
   DISCLAIMER HUKUM
========================================================== */

.footer-warning{

    background:rgba(255,255,255,.08);

    border-left:5px solid #f4c542;

    border-radius:12px;

    padding:22px 24px;

    line-height:1.9;

    color:rgba(255,255,255,.94);

}

.footer-warning i{

    color:#ffd54f;

    margin-right:8px;

}

.footer-warning strong{

    color:#ffffff;

}

/* ==========================================================
   COPYRIGHT
========================================================== */

.footer-copy{

    margin-top:30px;

    text-align:center;

    font-size:13px;

    color:rgba(255,255,255,.75);

}

.footer-copy a{

    color:#ffffff;

    text-decoration:none;

}

.footer-copy a:hover{

    text-decoration:underline;

}

/* ==========================================================
   BOOTSTRAP OVERRIDE
========================================================== */

.login-page .container{

    max-width:1320px;

}

.login-page .form-control{

    box-shadow:none;

}

.login-page .btn{

    box-shadow:none;

}

.login-page .input-group-text{

    box-shadow:none;

}

.login-page .alert{

    margin-bottom:0;

}

/* ==========================================================
   FADE ANIMATION
========================================================== */

.government-card,

.login-card,

.feature-card,

.mini-status{

    animation:fadeUp .6s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ==========================================================
   HOVER EFFECT
========================================================== */

.government-card,

.login-card{

    transition:.30s;

}

.government-card:hover,

.login-card:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 45px rgba(0,0,0,.08);

}

/* ==========================================================
   SELECTION COLOR
========================================================== */

::selection{

    background:#0b4ea2;

    color:#ffffff;

}

::-moz-selection{

    background:#0b4ea2;

    color:#ffffff;

}

/* ==========================================================
   PART 6
   RESPONSIVE
========================================================== */

/* ==========================================================
   LARGE TABLET
========================================================== */

@media (max-width:1200px){

    .portal-brand h1{

        font-size:26px;

    }

    .portal-heading{

        font-size:30px;

    }

    .government-card{

        padding:34px;

    }

    .login-card{

        padding:34px;

    }

}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width:992px){

    .sidebar{

        width:80px;

        padding:18px 12px;

    }

    .brand h4,
    .brand span,
    .sidebar a span{

        display:none;

    }

    .sidebar a{

        justify-content:center;

        padding:14px;

    }

    .main{

        margin-left:80px;

        padding:25px;

    }

    .portal-header{

        padding:18px 0;

    }

    .portal-brand{

        flex-direction:column;

        text-align:center;

        gap:15px;

    }

    .portal-logo{

        width:70px;

        height:70px;

    }

    .portal-brand h1{

        font-size:24px;

    }

    .portal-brand p{

        font-size:14px;

    }

    .system-status{

        margin-top:20px;

    }

    .portal-main{

        padding:35px 0;

    }

    .government-card{

        margin-bottom:30px;

        padding:30px;

    }

    .login-card{

        padding:30px;

    }

    .portal-heading{

        font-size:28px;

    }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:768px){

    .top-strip{

        font-size:12px;

    }

    .top-strip .d-flex{

        flex-direction:column;

        gap:5px;

        text-align:center;

    }

    .portal-logo{

        width:62px;

        height:62px;

    }

    .portal-brand h1{

        font-size:22px;

    }

    .portal-heading{

        font-size:26px;

    }

    .portal-description{

        font-size:15px;

    }

    .government-card{

        padding:24px;

    }

    .login-card{

        padding:24px;

    }

    .feature-card{

        padding:16px;

    }

    .feature-card i{

        width:46px;

        height:46px;

        font-size:18px;

    }

    .login-logo{

        width:70px;

        height:70px;

    }

    .portal-footer{

        text-align:center;

    }

}

/* ==========================================================
   EXTRA SMALL DEVICE
========================================================== */

@media (max-width:576px){

    .portal-header{

        padding:16px 0;

    }

    .portal-main{

        padding:22px 0 35px;

    }

    .portal-brand{

        gap:12px;

    }

    .portal-logo{

        width:55px;

        height:55px;

    }

    .portal-brand h1{

        font-size:20px;

    }

    .portal-brand p{

        font-size:13px;

    }

    .portal-heading{

        font-size:22px;

    }

    .portal-description{

        font-size:14px;

    }

    .government-card{

        padding:20px;

        border-radius:14px;

    }

    .login-card{

        padding:20px;

        border-radius:14px;

    }

    .feature-card{

        flex-direction:column;

        text-align:center;

        align-items:center;

    }

    .feature-card i{

        margin-bottom:10px;

    }

    .login-logo{

        width:65px;

        height:65px;

    }

    .btn-login{

        height:52px;

        font-size:15px;

    }

    .footer-warning{

        padding:16px;

        text-align:left;

    }

    .footer-copy{

        font-size:12px;

    }

}

/* ==========================================================
   PRINT
========================================================== */

@media print{

    .sidebar,
    .top-strip,
    .portal-nav,
    .portal-footer,
    .btn,
    button{

        display:none !important;

    }

    .main{

        margin:0;

        padding:0;

    }

    body{

        background:#ffffff;

    }

}

.footer-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.7;
    opacity: .9;
}

.footer-warning i {
    font-size: 18px;
    margin-top: 4px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}


.footer-brand > i {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: #eff6ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}


.footer-brand h5 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 700;
}


.footer-brand p {
    margin: 0;
}