﻿/* =====================================================
   EVENT & MARKETING WEB APPLICATION CSS
   Author : IAMSoft
   Version: 1.0
===================================================== */

/* ===================== ROOT THEME ===================== */
:root {
    --primary: #4f46e5;
    --secondary: #0ea5e9;
    --success: #16a34a;
    --warning: #f59e0b;
    --danger: #dc2626;
    --bg: #f8fafc;
    --card-bg: #ffffff;
    --border: #e5e7eb;
    --text-main: #0f172a;
    --text-muted: #64748b;
}

/* ===================== GLOBAL ===================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    font-family: 'Inter', 'Segoe UI', Tahoma, sans-serif;
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem;
}

/* ===================== GRID ===================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* ===================== EVENT CARD ===================== */
.event-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    transition: all .25s ease;
    position: relative;
    width: auto;
}


.event-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: .5rem 0 .25rem;
    color:black;
}

.event-date {
    font-size: .85rem;
    color: var(--text-muted);
}

.event-description {
    font-size: .9rem;
    margin: .75rem 0;
    color: #334155;
}

/* ===================== BADGE STATUS ===================== */
.badge {
    display: inline-block;
    padding: .25rem .65rem;
    font-size: .75rem;
    border-radius: 999px;
    font-weight: 600;
}

.badge-upcoming {
    background: #e0e7ff;
    color: #3730a3;
}

.badge-live {
    background: #dcfce7;
    color: #166534;
}

.badge-ended {
    background: #fee2e2;
    color: #991b1b;
}

/* ===================== CAMPAIGN / MARKETING ===================== */
.campaign-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 20px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

    .campaign-card::after {
        content: "";
        position: absolute;
        top: -40%;
        right: -40%;
        width: 200px;
        height: 200px;
        background: rgba(255,255,255,.15);
        border-radius: 50%;
    }

.campaign-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.campaign-desc {
    font-size: .9rem;
    opacity: .9;
    margin: .5rem 0 1rem;
}

/* ===================== BUTTON / CTA ===================== */
.btn {
    border: none;
    padding: .6rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

    .btn-primary:hover {
        background: #4338ca;
    }

.btn-outline {
    background: transparent;
    border: 1px solid white;
    color: white;
}

    .btn-outline:hover {
        background: rgba(255,255,255,.15);
    }

/* ===================== MARKETING STAT ===================== */
.stat-box {
    background: var(--card-bg);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.stat-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.stat-label {
    font-size: .8rem;
    color: var(--text-muted);
}

/* ===================== AGENDA / CALENDAR ===================== */
.agenda {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.agenda-item {
    padding: .45rem .75rem;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 600;
}

.agenda-hk {
    background: #dcfce7;
    color: #166534;
}

.agenda-lbr {
    background: #fee2e2;
    color: #991b1b;
}

.agenda-event {
    background: #e0e7ff;
    color: #3730a3;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .campaign-title {
        font-size: 1.1rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }
}


/* ===================== FORM INPUT ===================== */
.form-input {
    width: 100%;
    padding: .6rem .75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: .9rem;
    outline: none;
    height: 20px;
}

    .form-input:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(79,70,229,.15);
    }

.register-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.register-card {
    background: #ffffff;
    padding: 10px;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-align: center;
}

    .register-card .e-dropdownlist {
        width: 100% !important;
    }

    .register-card .e-form-label {
        color: black !important;
        text-align: left !important;
    }

    .register-card .validation-message {
        text-align: left !important;
    }

    .register-card .e-data-form .e-form-layout {
        display: -ms-grid;
        display: grid;
        top: -20px;
        position: relative;
    }

    .register-card .e-textbox {
        color: black !important;
        top: -30px !important;
    }

.register-logo img {
    top: -50px;
    width: 180px;
}

.register-card h3 {
    top: -20px;
    margin-bottom: 1px;
}

.subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

    .form-control:focus {
        outline: none;
        border-color: #2c5364;
    }

.btn-submit {
    width: 100%;
    margin-top: -10px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: #2c5364;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-submit:hover {
        background: #203a43;
    }

.agreement {
    font-size: 13px;
    color: #666;
    margin: 15px 0;
    text-align: center;
    top: -20px;
    position: relative;
}

    .agreement a {
        color: #0d6efd;
        text-decoration: none;
        font-weight: 500;
    }

        .agreement a:hover {
            text-decoration: underline;
        }

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
}

    .auth-footer a {
        color: #0d6efd;
        font-weight: 600;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.otp-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.otp-input {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 22px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

    .otp-input:focus {
        border-color: #0d6efd;
        outline: none;
    }

.success-card {
    text-align: center;
}

.success-icon img {
    width: 90px;
    margin-bottom: 15px;
}

.text-success {
    color: #198754;
}

.success-text {
    font-size: 15px;
    color: #555;
    margin: 20px 0;
    line-height: 1.6;
}

.verify-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #1d2671, #c33764);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
}

.verify-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 40px 35px;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

    .verify-card h2 {
        margin: 20px 0 10px;
    }

    .verify-card p {
        color: #555;
        font-size: 15px;
        line-height: 1.6;
    }

.icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    font-size: 34px;
    margin: 0 auto 15px;
    color: white;
}

    .icon.success {
        background: #2ecc71;
    }

    .icon.error {
        background: #e74c3c;
    }

.btn-primary,
.btn-secondary {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    background: #2c5364;
    color: #fff;
}

.btn-secondary {
    background: #bdc3c7;
    color: #2c3e50;
}

/* ===================== LOGIN CONTAINER ===================== */

.login-container-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

    .login-container-center .e-form-label {
        color: black !important;
        text-align: left !important;
    }

    .login-container-center .validation-message {
        text-align: left !important;
    }


    .login-container-center .e-data-form .e-form-layout {
        display: -ms-grid;
        display: grid;
        top: -20px;
        position: relative;
    }

    .login-container-center .e-textbox {
        color: black !important;
        top: -30px !important;
    }

    .login-container-center .login-card {
        background: #ffffff;
        padding: 10px;
        width: 100%;
        max-width: 420px;
        border-radius: 16px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        text-align: center;
    }

    .login-container-center .login-header {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .login-container-center .logo img {
        align-items: center;
        width: 140px;
    }

    .login-container-center .event-subtitle {
        font-size: .9rem;
        color: grey;
    }

    .login-container-center .form-group {
        margin-bottom: 1rem;
    }
    .login-container-center .form-pass {
        position: absolute;
        top: 0px;
    }
        
        .login-container-center .form-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.25rem;
            font-size: .85rem;
        }

.btn-block {
    width: 100%;
}

.login-footer {
    text-align: center;
    margin-top: 1rem;
}

.text-link {
    color: var(--primary);
    text-decoration: none;
}

    .text-link.strong {
        font-weight: 600;
    }

.text-muted {
    color: var(--text-muted);
}

/*===========DASHBOARD=================*/
/*
GPS-Tracker-Elegant-Styles.css
Elegant CSS theme for a GPS tracker company (dashboard + marketing pages)
Usage notes:
 - Include a modern sans-serif webfont like Inter or Poppins in your HTML head.
 - This file provides variables, layout helpers, header, hero, cards, map container, widgets, tables and responsive tweaks.
 - Modify --brand and accent colors to match your corporate identity.
*/
:root {
    --brand-700: #093b59;
    --brand-500: #0f5f82;
    --brand-300: #18a2c4;
    --accent: #00b39f;
    --bg-dark: #031a2a;
    --text-light: #ffffff;
    --text-muted: rgba(255,255,255,0.7);
}

/* GLOBAL BODY */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--brand-700) 100%);
    color: var(--text-light);
}

/* GLOBAL CARD STYLE */
.card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* BUTTON GENERAL */
.btn-primary {
    background: linear-gradient(90deg, var(--accent), var(--brand-300));
    border: none;
    color: white;
    padding: 10px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-primary:hover {
        transform: scale(1.03);
    }

/************************************
    LOGIN PAGE + SETUP PAGE COMBINED CSS
*************************************/
.login-wrapper, .setup-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--brand-700) 100%);
    padding: 20px;
}

.login-box, .setup-box {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    padding: 40px 36px;
    color: #fff;
    text-align: center;
}

    .setup-box .e-form-label {
        color: white !important;
        text-align: left !important;
    }

    .setup-box .validation-message {
        text-align: left !important;
    }

    .setup-box .e-textbox {
        color: black !important;
    }

.logo {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent), var(--brand-700));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 28px;
    color: #fff;
}

h2 {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 600;
}

p.text-muted {
    color: var(--text-muted);
    margin-bottom: 26px;
    font-size: 14px;
}

.form-group {
    text-align: left;
    margin-bottom: 18px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.8);
    }

    .form-group input {
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        border: none;
        margin-top: 6px;
        font-size: 15px;
    }

.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--accent), #00d6b2);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s;
}

    .btn-login:hover {
        transform: scale(1.02);
    }

.validation {
    padding: 8px;
    color: #ffaaaa;
    font-size: 14px;
}

.login-footer {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

    .login-footer a {
        color: var(--accent);
        text-decoration: none;
    }

/************************************
    DARK / LIGHT MODE SUPPORT
*************************************/
:root {
    --light-bg: #f5f8fa;
    --light-card: #ffffff;
    --light-text: #1a1a1a;
    --light-muted: #6b6b6b;
}

body.light-mode {
    background: var(--light-bg) !important;
    color: var(--light-text) !important;
}

    body.light-mode .card,
    body.light-mode .login-box,
    body.light-mode .setup-box {
        background: var(--light-card) !important;
        color: var(--light-text) !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

    body.light-mode .logo {
        background: linear-gradient(135deg, var(--brand-300), var(--accent));
        color: #fff;
    }

    body.light-mode label {
        color: var(--light-text);
    }

    body.light-mode p.text-muted {
        color: var(--light-muted);
    }

/* Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    transition: 0.2s;
}

body.light-mode .theme-toggle {
    background: #eaeaea;
    color: #000;
}

.theme-toggle:hover {
    transform: scale(1.05);
}


/************************************
    UI COMPONENTS
*************************************/

/* SIDEBAR */
.menusamping {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 0px,80px,0px,80px;
    height: 100%;
    position: fixed;
    left: 0;
    top: 80px !important;
    width: 250px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    color: white !important;
    overflow: hidden !important;
    transform: none !important;
}

    .menusamping.collapsed {
        height: 100%;
        width: 70px;
        margin-left: -10px;
        overflow: hidden !important;
        backdrop-filter: none;
        border-radius: 0px,80px,0px,80px;
    }

    .menusamping .e-list-item {
        overflow: hidden !important;
    }

    .menusamping .e-treeview {
        overflow: hidden !important;
    }

    .menusamping.collapsed .menu-custom a {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: clip;
        color: transparent !important;
    }

    .menusamping .e-list-item {
        margin-left: -20px;
    }

    .menusamping .collapsed .e-text-content {
        display: none;
    }

body.light-mode .menusamping {
    background: #ffffff;
}

.menusamping .menu-title {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 10px;
    margin-top: 20px;
}


.menusamping a {
    padding: 10px 12px;
    display: block;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    color: #fff;
    margin-bottom: 6px;
    transition: 0.2s;
}

body.light-mode .menusamping a {
    color: #000;
}

.menusamping .e-list-text {
    color: white;
}

.menusamping a:hover {
    border-radius: 8px;
    color: black;
}

.menusamping .e-treeview .e-list-item .e-hover {
    background: rgba(255,255,255,0.2);
    color: black;
}

.menusamping .e-list-item .e-hover {
    background: #A6F7DA !important;
    border-radius: 8px;
}

body.light-mode .menusamping a:hover {
    background: #A6F7DA;
    border-radius: 8px;
}

/* ===========================
   DASHBOARD INFO CARD
=========================== */

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
}

.info-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    .info-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0,0,0,.1);
    }

    /* Gradient bar di kiri */
    .info-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 6px;
        height: 100%;
        background: var(--card-color, #3b82f6);
    }

/* Content */
.info-content {
    display: flex;
    flex-direction: column;
}

.info-title {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 600;
}

.info-value {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

/* Icon */
.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ffffff;
    background: var(--card-color, #3b82f6);
}

/* ===========================
   COLOR VARIANT
=========================== */

.card-saldo {
    --card-color: #10b981;
}

.card-wa {
    --card-color: #22c55e;
}

.card-sms {
    --card-color: #3b82f6;
}

.card-email {
    --card-color: #6366f1;
}

.card-ticket {
    --card-color: #f59e0b;
}

/* ==============================
   CAMPAIGN DETAIL CARD
============================== */

.campaign-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.campaign-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
    position: relative;
    transition: all .25s ease;
}

    .campaign-card:hover {
        box-shadow: 0 10px 25px rgba(0,0,0,.1);
    }

/* Header */
.campaign-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.campaign-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    background: var(--campaign-color, #22c55e);
}

.campaign-title {
    display: flex;
    flex-direction: column;
}

.campaign-channel {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
}

.campaign-name {
    font-size: 12px;
    color: #6b7280;
}

/* Stats */
.campaign-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.stat-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
}

.stat-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* Color Variant */
.campaign-wa {
    --campaign-color: #22c55e;
}

.campaign-sms {
    --campaign-color: #3b82f6;
}

.campaign-email {
    --campaign-color: #6366f1;
}

.campaign-ticket {
    --campaign-color: #f59e0b;
}


/* DASHBOARD CARDS */
.device-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.light-mode .device-card {
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.device-card .info {
    flex: 1;
}

    .device-card .info h4 {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
    }

    .device-card .info p {
        margin: 4px 0 0 0;
        font-size: 13px;
        opacity: 0.8;
    }

/* STATUS BADGE */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.status-online {
    background: #00c67a;
}

.status-offline {
    background: #d9534f;
}

.status-idle {
    background: #f0ad4e;
}

/* Google Icon*/
/* Material Icons base */
.material-icons,
.material-icons-outlined {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
}

/* supaya align dengan menu Syncfusion */
.e-treeview .material-icons,
.e-treeview .material-icons-outlined {
    margin-right: 10px;
    font-size: 18px;
}


/*CONTAINER CONTENT*/
.container-content {
    position: absolute;
    width: 100%;
    z-index: -1;
    min-height: 520px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    margin-top: 80px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--brand-700) 100%);
    color: var(--text-light);
    margin-left: 0px !important; /* match collapsed sidebar width */
}

.container-collapsed {
    min-height: 520px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    margin-top: 80px;
    margin-left: 250px !important; /* match collapsed sidebar width */
    padding-left: 20px;
    padding-top: 10px;
    padding-right: 20px;
}

.h3-wrapper {
    position: relative;
    display: inline-block;
}

.h3-info-icon {
    position: absolute;
    top: -5px;
    right: -15px;
    background-color: #6a5acd; /* slate blue */
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 11px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 0 6px rgba(106, 90, 205, 0.7);
    transition: all 0.3s ease;
}

.h3-section-title {
    font-size: 1.3rem;
    margin: 0;
    padding-right: 10px;
}

.whiteboard {
    background-color: white;
    width: 500px;
}

.info-box {
    margin-top: 8px;
    background: linear-gradient(to right, #6dd5ed, #c7ceff);
    padding: 14px;
    border-left: 4px solid #6a5acd;
    border-radius: 10px;
    color: #222;
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(106, 90, 205, 0.3);
    width: 100%;
    margin-bottom: 10px;
}

    .info-box ul li {
        display: flex;
        align-items: center;
        font-size: 13px;
    }

.cool-box {
    background: linear-gradient(to right, #e0f7fa, #fce4ec);
    border-left: 5px solid #00acc1;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 172, 193, 0.25);
    padding: 20px;
    margin-bottom: 24px;
    color: #333;
    width: 100%;
    margin-top: 20px !important;
}

.cool-box-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-row {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 14px;
    font-size: 0.95rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
}

    .search-input:focus {
        border-color: #00acc1;
        box-shadow: 0 0 4px rgba(0, 172, 193, 0.3);
    }

.btn-search {
    background-color: #00acc1;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

    .btn-search:hover {
        background-color: #00838f;
    }
/*Dialog*/
/* Dialog utama */
.gateway-dialog .e-dlg-content {
    padding: 0 !important;
}

/* Header */
.dialog-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
}

/* Body */
.dialog-body {
    padding: 16px 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #444;
}

.form-dropdown {
    width: 100%;
}

/* Footer */
.dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    background: #fafafa;
}

.dialog-body-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 14px;
    align-items: center;
    margin-left: 10px;
    margin-right: 10px;
}

.qr-countdown {
    margin-top: 8px;
    font-size: 13px;
    color: #ff9800;
    font-weight: 600;
}

/*DROP DOWN*/
/* Dropdown menu */
.menu-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    margin-left: 4px;
}

.dropdown-menu-profile {
    position: absolute;
    top: 25px;
    right: 0;
    background-color: white;
    color: #1e293b;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 1100;
}

    .dropdown-menu-profile li {
        padding: 8px 16px;
        cursor: pointer;
    }

        .dropdown-menu-profile li:hover {
            background-color: #f1f5f9;
        }

    .dropdown-menu-profile a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

/* MAP CONTAINER */
.map-container {
    width: 100%;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    margin-top: 100px;
}

body.light-mode .map-container {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* === MAP COMPONENT (Leaflet) === */
.map-container {
    width: 100%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    margin-top: 25px;
}

/* === REALTIME TRACKING WIDGET === */
.realtime-widget {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 25px;
}

.realtime-item {
    background: var(--card-bg);
    padding: 18px;
    border-radius: 14px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.realtime-label {
    font-size: 13px;
    opacity: 0.7;
}

.realtime-value {
    font-size: 22px;
    font-weight: 600;
}

/* === HISTORY ROUTE PANEL === */
.history-route-box {
    margin-top: 30px;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.history-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
}

    .history-item:last-child {
        border-bottom: none;
    }

/* === DARK / LIGHT MODE SWITCH ICON === */
.mode-switch-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 22px;
}


/* === UPDATED HEADER (MATCH EXISTING THEME) === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, var(--accent), var(--brand-700));
    backdrop-filter: blur(6px);
    color: var(--text-on-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.header-left .app-title {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-on-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}


/* VARIABLES FOR PRIMARY NAVY SHADE */
:root {
    --primary: #0d47a1;
    --primary-transparent: rgba(13, 71, 161, 0.82);
    --text-on-primary: #e9f1ff;
}
