.jemputin-driver,
.jemputin-driver-login {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0 auto;
    color: #1e293b;
}

.jemputin-driver {
    max-width: 860px;
    padding: 0 14px;
}

.jemputin-driver-login {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    box-sizing: border-box;
    background: linear-gradient(135deg, #ffe0b8 0%, #ffb020 45%, #f97316 100%);
}

.jemputin-driver-login-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px 22px;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    text-align: center;
}

.jemputin-driver-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb020, #f97316);
    display: flex;
    align-items: center;
    justify-content: center;
}

.jemputin-driver-logo .fa-solid {
    color: #fff;
    font-size: 30px;
}

.jemputin-driver-login-card h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
}

.jemputin-driver-login-desc {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 20px;
}

.jemputin-driver-login-form {
    display: flex;
    flex-direction: column;
}

.jemputin-driver-login-form .jemputin-driver-input,
.jemputin-driver-login-form .jemputin-driver-btn {
    border-radius: 999px !important;
    -webkit-appearance: none;
    appearance: none;
}

.jemputin-driver-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    margin: 0 0 14px;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}

.jemputin-driver-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .18);
}

.jemputin-driver-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffb020, #f97316);
    color: #fff;
    cursor: pointer;
    transition: opacity .15s, transform .05s;
    -webkit-tap-highlight-color: transparent;
}

.jemputin-driver-btn:active {
    transform: scale(.98);
}

.jemputin-driver-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.jemputin-driver-btn-full {
    width: 100%;
    margin-top: 4px;
}

.jemputin-driver-btn-action {
    flex: 1;
    min-height: 44px;
    font-size: 13px;
    padding: 0 12px;
    background: #fff3e0;
    color: #e65100;
}

.jemputin-driver-btn-success {
    background: #dcfce7;
    color: #166534;
}

.jemputin-driver-header {
    background: linear-gradient(135deg, #ffb020, #f97316);
    color: #fff;
    padding: 20px 18px;
    margin: 0 -14px;
    border-radius: 0 0 20px 20px;
}

.jemputin-driver-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.jemputin-driver-greeting {
    font-size: 18px;
    font-weight: 700;
}

.jemputin-driver-date {
    font-size: 13px;
    opacity: .85;
    margin-top: 2px;
}

.jemputin-driver-logout {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, .15);
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.jemputin-driver-logout:hover {
    color: #fff;
    background: rgba(255, 255, 255, .25);
}

.jemputin-driver-body {
    padding: 16px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.jemputin-driver-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

.jemputin-driver-card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.jemputin-driver-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 12px 0 10px;
}

.jemputin-driver-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.jemputin-driver-search-wrap .fa-solid {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.jemputin-driver-search-wrap .jemputin-driver-search {
    width: 100%;
    padding: 10px 12px 10px 34px !important;
    border: 1px solid #d8e0ea;
    border-radius: 10px;
    font-size: 14px;
    color: #334155;
    background: #fff;
    outline: none;
    box-sizing: border-box;
}

.jemputin-driver-search-wrap .jemputin-driver-search:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .18);
    outline: none;
}

.jemputin-driver-selected {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: -2px 0 12px;
}

.jemputin-driver-selected-title {
    width: 100%;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.jemputin-driver-selected-chip {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #e65100;
    background: #fff3e0;
    border: 1px solid #fbbf24;
    border-radius: 999px;
}

.jemputin-driver-ready {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    margin-bottom: 4px;
}

.jemputin-driver-ready input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jemputin-driver-switch-ui {
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    flex-shrink: 0;
    transition: background .2s;
}

.jemputin-driver-switch-ui::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .2s;
}

.jemputin-driver-ready input:checked + .jemputin-driver-switch-ui {
    background: linear-gradient(135deg, #ffb020, #f97316);
}

.jemputin-driver-ready input:checked + .jemputin-driver-switch-ui::after {
    transform: translateX(20px);
}

.jemputin-driver-switch-label {
    font-size: 15px;
    font-weight: 600;
}

.jemputin-driver-group-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #94a3b8;
    margin: 14px 0 8px;
}

.jemputin-driver-school-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.jemputin-driver-school-chip {
    cursor: pointer;
    user-select: none;
}

.jemputin-driver-school-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.jemputin-driver-school-chip span {
    display: inline-block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #f8fafc;
    color: #475569;
    transition: all .15s;
}

.jemputin-driver-school-chip input:checked + span {
    border-color: #f97316;
    background: #fff3e0;
    color: #e65100;
    font-weight: 600;
}

.jemputin-driver-notice {
    margin-top: 12px;
}

#jemputin-driver-login-notice {
    margin: 0 0 14px;
}

.jemputin-driver-notice .alert,
#jemputin-driver-login-notice .alert {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}

.jemputin-driver-notice .alert-success,
#jemputin-driver-login-notice .alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.jemputin-driver-notice .alert-danger,
#jemputin-driver-login-notice .alert-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.jemputin-driver-empty {
    color: #94a3b8;
    font-size: 14px;
    text-align: center;
    padding: 20px 0;
}

.jemputin-driver-order {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    background: #fcfdff;
}

.jemputin-driver-order:last-child {
    margin-bottom: 0;
}

.jemputin-driver-order-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.jemputin-driver-order-num {
    font-size: 15px;
    font-weight: 700;
}

.jemputin-driver-order-time {
    font-size: 12px;
    color: #64748b;
}

.jemputin-driver-order-detail {
    font-size: 14px;
    color: #334155;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.jemputin-driver-order-detail .fa-solid {
    font-size: 16px;
    color: #94a3b8;
}

.jemputin-driver-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.jemputin-driver-order-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.jemputin-driver-order-actions .jemputin-driver-btn-action {
    flex: 1 1 auto;
    line-height: 1.3;
    white-space: normal;
}

@media (max-width: 479px) {
    .jemputin-driver-order-actions {
        flex-direction: column;
        gap: 10px;
    }

    .jemputin-driver-order-actions .jemputin-driver-btn-action {
        width: 100%;
    }
}

@media (min-width: 640px) {
    .jemputin-driver-body {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

@media (min-width: 900px) {
    .jemputin-driver-header {
        margin: 0 -24px;
        padding: 24px 32px;
    }

    .jemputin-driver {
        max-width: 960px;
    }
}

.jemputin-driver-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.jemputin-driver-notif-btn.is-active {
    color: #16a34a;
}

.jemputin-driver-notif-btn.is-active i {
    animation: none;
}

/* Tema (mis. Astra separate-container) memberi wrapper background putih —
   buat transparan biar gradient body/.jemputin-driver-login keliatan penuh. */
body.jemputin-portal-driver .site,
body.jemputin-portal-driver .site-content,
body.jemputin-portal-driver .site-inner,
body.jemputin-portal-driver .ast-container,
body.jemputin-portal-driver .ast-separate-container,
body.jemputin-portal-driver .ast-article-post,
body.jemputin-portal-driver .ast-article-single,
body.jemputin-portal-driver #content,
body.jemputin-portal-driver #primary,
body.jemputin-portal-driver #main,
body.jemputin-portal-driver .entry-content,
body.jemputin-portal-driver .hentry {
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.jemputin-portal-driver .ast-container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.jemputin-portal-driver #primary {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* WhatsApp Admin & password toggle */
.jemputin-password-wrap {
    position: relative;
}

.jemputin-password-wrap .jemputin-driver-input {
    padding-right: 48px;
}

.jemputin-password-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 8px;
    line-height: 1;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
}

.jemputin-password-toggle i {
    line-height: 1;
}

.jemputin-password-toggle:hover {
    color: #f97316;
}

.jemputin-driver-login-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    color: #f97316;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.jemputin-driver-login-link:hover {
    color: #ffb020;
    text-decoration: underline;
}

.jemputin-driver-show-password {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: -4px 0 12px;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    user-select: none;
}

.jemputin-driver-show-password input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #f97316;
    cursor: pointer;
}

.jemputin-driver-login-form .select2-container {
    width: 100% !important;
    margin-bottom: 14px;
    font-family: inherit;
}
.jemputin-driver-login-form .select2-container--bootstrap-5 .select2-selection {
    min-height: 48px;
    padding: 10px 38px 10px 22px;
    font-size: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
}
.jemputin-driver-login-form .select2-container--bootstrap-5 .select2-selection__rendered {
    color: #1e293b;
    line-height: 26px;
    font-size: 15px;
    padding: 0;
}
.jemputin-driver-login-form .select2-container--bootstrap-5 .select2-selection__placeholder {
    color: #94a3b8;
}
.jemputin-driver-login-form .select2-container--bootstrap-5.select2-container--focus .select2-selection {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .18);
}
.jemputin-driver-login-form .select2-dropdown {
    z-index: 1200 !important;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
    overflow: hidden;
    font-family: inherit;
}
.jemputin-driver-login-form .select2-results__options {
    max-height: 260px;
}
.jemputin-driver-login-form .select2-results__option {
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.5;
}
.jemputin-driver-login-form .select2-results__option--highlighted {
    background: #f97316;
    color: #fff;
}

.jemputin-driver-login-form textarea.jemputin-driver-input {
    border-radius: 12px !important;
    resize: vertical;
    font-family: inherit;
    padding-top: 12px;
    min-height: 64px;
}
