﻿/* =====================================================
   GLOBAL BASE
===================================================== */
html, body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
}

.main-wrapper {
    padding-top: 90px;
    flex: 1;
}

/************************************
    UI COMPONENTS – GPS TRACKER
*************************************/

.gps-loaders {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    animation: loginFade .3s ease;
}

    .gps-loaders .gps-loaders-text {
        margin-top: 50px !important;
        font-size: 11px;
        font-weight: bold;
        color: grey;
        margin-left: 10px;
    }
/* PIN GOOGLE MAPS */
.gps-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    background: #ea4335;
    border-radius: 50% 50% 50% 0;
    transform: translate(-50%, -100%) rotate(-45deg);
    z-index: 2;
}

    .gps-dot::after {
        content: '';
        position: absolute;
        top: 6px;
        left: 6px;
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
    }

/* RING GPS (LEBIH TERLIHAT) */
.gps-ring {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: rgba(234, 67, 53, 0.45);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: gps-ring 1.6s ease-out infinite;
    box-shadow: 0 0 12px rgba(234, 67, 53, 0.6);
}

/* ANIMASI RING */
@keyframes gps-ring {
    from {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: .9;
    }

    to {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}
/* =====================================================
   LOGIN
===================================================== */
.login-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}


.login-terms {
    font-size: 18px;
    color: #777;
    text-align: center;
    max-width: 320px;
    line-height: 1.4;
}

    .login-terms a {
        color: #0d6efd;
        text-decoration: none;
    }

        .login-terms a:hover {
            text-decoration: underline;
        }

.captcha-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.login-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* =====================================================
   CONTACT US WRAPPER
===================================================== */
._contactus-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #f2f6ff, #ffffff);
    padding: 40px 20px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
/* =========================
   TERMS & CONDITIONS STYLE
   ========================= */

._tc-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

._tc-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1f2937;
}

._tc-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

._tc-content {
    max-height: 420px;
    overflow-y: auto;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fafafa;
    line-height: 1.7;
    color: #374151;
    font-size: 14px;
}

    ._tc-content h3 {
        font-size: 18px;
        margin-top: 24px;
        margin-bottom: 8px;
        color: #111827;
    }

    ._tc-content h4 {
        font-size: 16px;
        margin-top: 18px;
        margin-bottom: 6px;
        color: #1f2937;
    }

    ._tc-content ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    ._tc-content li {
        margin-bottom: 6px;
    }

._tc-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 24px 0;
}

._tc-footer {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

._tc-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #374151;
}

    ._tc-checkbox input {
        margin-top: 3px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

._tc-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

._tc-btn {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

._tc-btn-cancel {
    background: #e5e7eb;
    color: #374151;
}

._tc-btn-accept {
    background: #2563eb;
    color: #ffffff;
}

    ._tc-btn-accept:disabled {
        background: #93c5fd;
        cursor: not-allowed;
    }

/* =====================================================
   CARD
===================================================== */
._contactus-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* =====================================================
   HEADER
===================================================== */
._contactus-header {
    text-align: center;
    margin-bottom: 30px;
}

._contactus-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6f63ff, #8f7bff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    font-size: 26px;
}

._contactus-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

._contactus-header p {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

/* =====================================================
   FORM
===================================================== */
._contactus-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

._contactus-field label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    display: block;
}

._contactus-field input,
._contactus-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #e2e4ea;
    outline: none;
    transition: all .2s ease;
    background: #fff;
}

._contactus-field textarea {
    resize: none;
    min-height: 110px;
}

    ._contactus-field input::placeholder,
    ._contactus-field textarea::placeholder {
        color: #9aa0b4;
    }

    ._contactus-field input:focus,
    ._contactus-field textarea:focus {
        border-color: #6f63ff;
        box-shadow: 0 0 0 3px rgba(111,99,255,.15);
    }

/* =====================================================
   BUTTON
===================================================== */
._contactus-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
}

._contactus-btn {
    margin-top: 20px;
    height: 80px;
    width: 90%;
}
/* =====================================================
   TOPBAR BASE (DIPAKAI BERITA & MAINBODY)
===================================================== */
.topbar-base {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #7dd6f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0 40px;
    z-index: 2000;
}
/* =============================
   TOPBAR LEFT & RIGHT
============================= */
.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
}
.e-btn {
    background: #7dd6f4 !important;
}
.e-primary {
    background-color: #7dd6f4 !important;
    background: #7dd6f4 !important;
    border-color: #7dd6f4 !important;
}
    /* Logo kiri */
    .topbar-left img {
        height: 60px;
        object-fit: contain;
    }

/* Burger kanan */
.topbar-right {
    justify-content: flex-end;
}


/* DESKTOP MENU */
.topbar-menu {
    position: static; /* BALIK KE FLOW FLEX */
    display: flex;
    gap: 24px;
    margin-left: auto; /* DORONG KE KANAN */
    background: transparent;
    padding: 0;
}

.topbar-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

    /* menu link */
    .topbar-menu a {
        text-decoration: none;
        color: #333;
        font-weight: 500;
    }

/* language switch */
.menu-lang {
    display: flex;
    align-items: center;
    margin-left: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

    .menu-lang span {
        padding: 4px 6px;
        color: #777;
    }

        .menu-lang span.active {
            color: #0d6efd;
        }

    .menu-lang .separator {
        color: #aaa;
        cursor: default;
    }

/* =====================================================
   CONTACT US WRAPPER
===================================================== */
._contactus-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #f2f6ff, #ffffff);
    padding: 40px 20px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* =====================================================
   CARD
===================================================== */
._contactus-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px 28px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
}

/* =====================================================
   HEADER
===================================================== */
._contactus-header {
    text-align: center;
    margin-bottom: 30px;
}

._contactus-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6f63ff, #8f7bff);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: #fff;
    font-size: 26px;
}

._contactus-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #111;
}

._contactus-header p {
    margin-top: 6px;
    font-size: 14px;
    color: #666;
}

/* =====================================================
   FORM
===================================================== */
._contactus-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

._contactus-field label {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-bottom: 6px;
    display: block;
}

._contactus-field input,
._contactus-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 12px;
    border: 1px solid #e2e4ea;
    outline: none;
    transition: all .2s ease;
    background: #fff;
}

._contactus-field textarea {
    resize: none;
    min-height: 110px;
}

    ._contactus-field input::placeholder,
    ._contactus-field textarea::placeholder {
        color: #9aa0b4;
    }

    ._contactus-field input:focus,
    ._contactus-field textarea:focus {
        border-color: #6f63ff;
        box-shadow: 0 0 0 3px rgba(111,99,255,.15);
    }

/* =====================================================
   BUTTON
===================================================== */
._contactus-btn {
    margin-top: 20px;
    height: 50px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #6f63ff, #8f7bff);
    box-shadow: 0 8px 20px rgba(111,99,255,.35);
    transition: all .25s ease;
}

    ._contactus-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(111,99,255,.45);
    }

    ._contactus-btn:active {
        transform: translateY(0);
    }


/* =====================================================
   HALAMAN BERITA
===================================================== */
._berita-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f5f5f5;
    font-family: 'Segoe UI', sans-serif;
}

._berita-topbar {
    position: sticky;
    top: 0;
    z-index: 999;
}

._berita-logo img {
    width: 120px;
    height: 60px;
    object-fit: contain;
}

/* Banner */
._berita-banner {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

    ._berita-banner img {
        width: 100%;
        object-fit: cover;
    }

/* Tanggal */
._berita-date {
    padding: 12px 40px;
    font-size: .9rem;
    color: #666;
}

/* Konten */
._berita-content {
    max-width: 900px;
    margin: 0 auto 20px;
    padding: 20px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

    ._berita-content p {
        line-height: 1.8;
        color: #333;
    }

/* =====================================================
   MAINBODY (LOGIN / LANDING)
===================================================== */
.mainbody-wrapper {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.mainbody-topbar {
    padding: 0 20px;
}

.mainbody-logo-topbar img {
    width: 250px;
    height: 72px;
    object-fit: contain;
}

/* Login logo */
.mainbody-login-logo img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4db8ff, #0099ff);
    padding: 10px;
}

/* Layout kolom */
.mainbody-left {
    flex: 3;
}

    .mainbody-left img {
        height: 750px;
    }

.mainbody-right {
    flex: 1;
}

/* Login box */
.mainbody-login-box {
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 10px 25px rgba(0,0,0,.2);
    gap: 5px;
}

    .mainbody-login-box .e-form-label {
        font-size: 18px;
    }

.inputlogin {
    height: 40px;
    font-size: 20px !important;
    background-color: white !important;
}

.mainbody-login-box .btnLogin {
    font-size: 18px;
    width: 200px;
}

.e-control e-textbox e-lib e-input {
    height: 40px;
    font-size: 20px !important;
    background-color: white !important;
}

.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    width: 100%;
}

.password-toggle {
    position: absolute;
    right: 10px;
    cursor: pointer;
    color: #666;
}

    .password-toggle:hover {
        color: #000;
    }

/* =====================================================
   FOOTER
===================================================== */
.mainbody-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 40px;
    margin-top: auto;
}

    .mainbody-footer a {
        color: black;
        text-decoration: none;
    }

/* =====================================================
   BURGER MENU
===================================================== */
.mainbody-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

    .mainbody-burger span {
        width: 26px;
        height: 3px;
        background: #fff;
        border-radius: 3px;
    }
/* =========================
   ABOUT US CONTENT
========================= */
._aboutus {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: #111;
}


._aboutus-header {
    display: flex;
    align-items: center;
    margin: 28px 0 10px;
}

    ._aboutus-header h3 {
        font-size: 22px;
        font-weight: 700;
        margin: 0;
    }

/* Logo */
._aboutus-logo {
    padding-left: 10px;
    height: 40px;
    width: auto;
    object-fit: contain;
}

._aboutus-content p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 18px;
    max-width: 850px;
}

/* =========================
   CONTACT CARDS
========================= */
._aboutus-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 50px;
}

._aboutus-card {
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.25s ease;
    background: #fff;
}

    ._aboutus-card:hover {
        border-color: #000;
        transform: translateY(-4px);
    }

._aboutusToContactUs {
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

    ._aboutusToContactUs a {
        color: black
    }
/* =========================
   ICON STYLE
========================= */
._aboutus-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #000;
    margin-bottom: 16px;
    font-size: 24px;
}

    /* Simple icon using emoji / font icon fallback */
    ._aboutus-icon.phone::before {
        content: "📞";
    }

    ._aboutus-icon.email::before {
        content: "✉️";
    }

    ._aboutus-icon.location::before {
        content: "📍";
    }

._aboutus-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {

    .topbar-menu {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 220px;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
        border-radius: 0 0 12px 12px;
        z-index: 3000;
    }

        .topbar-menu.active {
            display: flex;
        }

    .mainbody-burger {
        display: flex !important;
    }

    .mainbody-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .mainbody-left {
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .mainbody-left img {
            width: 100%;
            height: auto;
            max-height: 250px;
            object-fit: contain;
        }

    .mainbody-right {
        width: 100%;
        max-width: 400px;
    }

    .mainbody-login-box {
        padding: 24px;
    }
    .mainbody-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 20px 0px 10px 0px !important;
        margin-top: auto;
    }

        .mainbody-footer a {
            color: black;
            text-decoration: none;
        }
}
@media (min-width: 769px) and (max-width: 992px) {

    .topbar-menu {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 220px;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
        border-radius: 0 0 12px 12px;
        z-index: 3000;
    }

        .topbar-menu.active {
            display: flex;
        }

    .mainbody-burger {
        display: flex !important;
    }

    .mainbody-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .mainbody-left img {
        width: 100%;
        height: auto;
        max-height: 350px;
    }

    .mainbody-right {
        max-width: 450px;
    }
    .mainbody-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 20px 0px 0px 0px !important;
        margin-top: auto;
        
    }

        .mainbody-footer a {
            color: black;
            text-decoration: none;
        }
}
@media (min-width: 993px) and (max-width: 1200px) {

    .topbar-menu {
        display: none;
        position: absolute;
        top: 80px;
        right: 0;
        width: 220px;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,.15);
        border-radius: 0 0 12px 12px;
        z-index: 3000;
    }

        .topbar-menu.active {
            display: flex;
        }

    .mainbody-burger {
        display: flex !important;
    }

    .mainbody-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .mainbody-left img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }

    .mainbody-right {
        max-width: 450px;
    }
    .mainbody-login-box .e-form-label {
        font-size: 18px;
    }

    .inputlogin {
        height: 40px;
        font-size: 20px !important;
        background-color: white !important;
    }

    .mainbody-login-box .btnLogin {
        font-size: 15px;
        width: 200px;
    }

    .e-control e-textbox e-lib e-input {
        height: 40px;
        font-size: 18px !important;
        background-color: white !important;
    }

    .login-terms {
        font-size: 15px !important;
        color: #777;
        text-align: center;
        max-width: 320px;
    }

    .inputlogin {
        height: 40px;
        font-size: 15px !important;
        background-color: white !important;
    }
    .mainbody-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 20px 40px;
        margin-top: auto;
        font-size: 12px;
    }

        .mainbody-footer a {
            color: black;
            text-decoration: none;
        }
}
@media (min-width: 1201px) and (max-width: 1400px) {

    .mainbody-wrapper {
        flex-direction: row;
    }

    .mainbody-left img {
        height: 450px;
    }

    .mainbody-right {
        max-width: 420px;
    }

    .mainbody-burger {
        display: none !important;
    }

    .topbar-menu {
        display: flex;
        position: absolute;       
        right: 0;
        padding: 20px;
        z-index: 3000;
    }

        .topbar-menu.active {
            display: flex;
        }
    .mainbody-login-box .e-form-label {
        font-size: 12px;
    }

    .inputlogin {
        height: 40px;
        font-size: 20px !important;
        background-color: white !important;
    }

    .mainbody-login-box .btnLogin {
        font-size: 15px;
        width: 200px;
    }

    .e-control e-textbox e-lib e-input {
        height: 40px;
        font-size: 18px !important;
        background-color: white !important;
    }

    .login-terms {
        font-size: 15px !important;
        color: #777;
        text-align: center;
        max-width: 320px;
    }

    .inputlogin {
        height: 40px;
        font-size: 15px !important;
        background-color: white !important;
    }
    .mainbody-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 20px 0px;
        margin-top: auto;
        font-size: 12px;
    }
        .mainbody-footer a {
            color: black;
            text-decoration: none;
        }
}

@media (min-width: 1401px) {

    .mainbody-wrapper {
        flex-direction: row;
        justify-content: space-between;
        
    }

    .mainbody-left img {
        height: 750px;
    }

    

    .mainbody-burger {
        display: none !important;
    }

    .topbar-menu {
        display: flex;
        position: absolute;
        right: 0;
        padding: 20px;
        z-index: 3000;
    }

        .topbar-menu.active {
            display: flex;
        }
    .mainbody-login-box .e-form-label {
        font-size: 12px;
    }

    .inputlogin {
        height: 40px;
        font-size: 20px !important;
        background-color: white !important;
    }

    .mainbody-login-box .btnLogin {
        font-size: 15px;
        width: 200px;
    }

    .e-control e-textbox e-lib e-input {
        height: 40px;
        font-size: 18px !important;
        background-color: white !important;
    }

    .login-terms {
        font-size: 15px !important;
        color: #777;
        text-align: center;
        max-width: 320px;
    }

    .inputlogin {
        height: 40px;
        font-size: 15px !important;
        background-color: white !important;
    }
    .mainbody-footer {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        padding: 20px 0px;
        margin-top: auto;
        font-size: 12px;
    }

        .mainbody-footer a {
            color: black;
            text-decoration: none;
        }
}
