/* ==========================================================================
   SIMPONIE DESIGN SYSTEM (Unified app.css)
   Pemerintah Kota Tangerang Selatan - DPMPTSP
   ========================================================================== */

:root {
    --primary: #114972;
    --primary-dark: #0a2d48;
    --primary-light: #1e6091;
    --accent: #2D95E1;
    --accent-hover: #1a7bc5;
    --highlight: #FFCE1C;
    --bg-light: #F8F9FB;
    --bg-card: #FFFFFF;
    --text-dark: #0F172A;
    --text-body: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --border-focus: #2D95E1;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 4px 6px -1px rgba(17, 73, 114, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(17, 73, 114, 0.08);
    --shadow-lg: 0 20px 35px -5px rgba(17, 73, 114, 0.12);
    --radius-sm: 4px;
    --radius-md: 6px;
    --radius-lg: 8px;
    --radius-xl: 10px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

body {
    min-height: 100vh;
    background-color: var(--bg-light) !important;
    font-family: var(--font-body) !important;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-body) !important;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--text-dark) !important;
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: var(--accent);
    text-decoration: none !important;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

ul.footer-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-main {
    flex: 1;
    padding: 20px 0 36px;
    min-width: 0;
}

/* ==========================================================================
   Navigation & Header
   ========================================================================== */
.sim-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(17, 73, 114, 0.08);
    box-shadow: 0 4px 20px rgba(17, 73, 114, 0.04);
    padding: 0;
}

.sim-header__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 32px;
    min-height: 72px;
}

.sim-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.sim-brand__logo {
    display: block;
    width: auto;
    max-width: min(260px, 42vw);
    height: 48px;
    object-fit: contain;
}

.sim-brand__app-title {
    font-family: var(--font-heading) !important;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: var(--primary) !important;
    padding-right: 12px;
    border-right: 2px solid var(--border-color);
    line-height: 1.2;
}

.sim-brand__text {
    display: flex;
    flex-direction: column;
}

.sim-brand__text strong {
    font-family: var(--font-heading) !important;
    color: var(--primary) !important;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.sim-brand__text small {
    color: var(--text-muted) !important;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.sim-menu {
    gap: 8px;
}

.sim-menu .nav-item {
    margin: 0;
}

.sim-menu .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px !important;
    color: var(--text-body) !important;
    font-size: 0.90rem;
    font-weight: 600;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sim-menu .nav-link:hover,
.sim-menu .nav-link.active {
    background: #EBF4FC;
    color: var(--primary) !important;
}

.sim-dropdown-menu {
    border-radius: 10px !important;
    padding: 0 !important;
    min-width: 240px;
    margin-top: 8px !important;
    box-shadow: 0 10px 25px rgba(11, 61, 102, 0.1) !important;
    border: 1px solid #E2E8F0 !important;
    overflow: hidden;
}

.sim-dropdown-header {
    padding: 12px 16px;
    background-color: #F8FAFC;
    border-bottom: 1px solid #E2E8F0;
}

.sim-dropdown-item {
    border-radius: 0 !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 500;
    color: #334155 !important;
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    background: transparent;
    border: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sim-dropdown-item:hover,
.sim-dropdown-item:focus {
    background-color: #F0F7FF !important;
    color: #0284C7 !important;
}

.sim-dropdown-item.text-danger {
    color: #EF4444 !important;
}

.sim-dropdown-item.text-danger:hover,
.sim-dropdown-item.text-danger:focus {
    background-color: #FEF2F2 !important;
    color: #DC2626 !important;
}

.sim-dropdown-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1rem;
    flex-shrink: 0;
}

.sim-nav__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-btn-login {
    background: var(--primary);
    color: #FFFFFF !important;
    padding: 9px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--primary);
    box-shadow: 0 2px 6px rgba(17, 73, 114, 0.15);
    transition: all 0.2s ease;
    cursor: pointer;
}

.sim-btn-login:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 149, 225, 0.25);
}

.sim-btn-register {
    background: #FFFFFF;
    color: var(--primary) !important;
    border: 1.5px solid rgba(17, 73, 114, 0.2);
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.sim-btn-register:hover {
    background: #F1F5F9;
    border-color: var(--primary);
    color: var(--primary) !important;
    transform: translateY(-2px);
}

.sim-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 6px 14px 6px 8px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.sim-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.sim-btn-logout {
    background: #FEE2E2;
    color: #DC2626;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.sim-btn-logout:hover {
    background: #DC2626;
    color: #FFFFFF;
}

/* Sub-header Announcement / Info Ticker (Non-sticky: scrolls naturally with page) */
.sim-banner {
    background: #0d3859;
    position: relative;
    z-index: 900;
    overflow: hidden;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-banner__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
    min-height: 32px;
}

.sim-banner-title {
    color: #FFFFFF;
    font-size: 14.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-grow: 1;
    overflow: hidden;
    margin: 0;
}

.sim-banner-badge {
    background: var(--highlight);
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
    line-height: 1.2;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Horizontal Sliding Ticker Container (Transisi Berpindah Mulus) */
.sim-ticker-viewport {
    height: 28px;
    line-height: 28px;
    overflow: hidden;
    position: relative;
    flex-grow: 1;
    white-space: nowrap;
}

.sim-ticker-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    width: 100%;
}

.sim-ticker-item {
    height: 28px;
    line-height: 28px;
    width: 100%;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 500;
    user-select: text;
    display: flex;
    align-items: center;
}

/* ==========================================================================
   Dashboard Components
   ========================================================================== */
.dash-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}

.dash-slider-item {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
    background-color: #114972;
}

.dash-slider-img {
    height: 380px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    vertical-align: middle;
}

.dash-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 48px 48px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 60%, transparent 100%);
    z-index: 2;
}

.dash-hero-carousel {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(17, 73, 114, 0.12);
    /* WebKit & GPU anti-aliasing overflow clip fix */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    transform: translateZ(0);
}

.dash-hero-carousel .carousel-inner {
    border-radius: inherit;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.dash-hero-carousel .carousel-indicators {
    bottom: 14px;
    justify-content: flex-start;
    margin-left: 48px;
    margin-right: 48px;
    margin-bottom: 0;
    z-index: 3;
}

.dash-hero-carousel .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 4px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    transition: all 0.3s ease;
}

.dash-hero-carousel .carousel-indicators .active {
    width: 36px;
    background-color: var(--highlight);
}

.dash-hero-carousel .carousel-control-prev,
.dash-hero-carousel .carousel-control-next {
    width: 48px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.dash-hero-carousel .carousel-control-prev:hover,
.dash-hero-carousel .carousel-control-next:hover {
    opacity: 1;
}

.dash-hero__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.dash-hero h1 {
    color: #FFFFFF;
    font-size: 1.85rem;
    margin-bottom: 6px;
}

.dash-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 600px;
}

.dash-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #FFFFFF;
}

.dash-badge-status .status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.dash-stat-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.25s ease;
}

.dash-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.dash-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(45, 149, 225, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.dash-stat-icon--primary {
    background: rgba(17, 73, 114, 0.1);
    color: var(--primary);
}

.dash-stat-icon--amber {
    background: rgba(245, 158, 11, 0.1);
    color: #F59E0B;
}

.dash-stat-icon--emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

.dash-stat-content {
    flex: 1;
}

.dash-stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.dash-stat-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    word-break: break-word;
}

/* ==========================================================================
   Auth Components (Login, Register, Password Reset)
   ========================================================================== */
.auth-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 32px 48px;
}

.auth-section {
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 20px;
    position: relative;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: #FFFFFF;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

.auth-card--wide {
    max-width: 1000px;
    padding: 44px 40px;
}

.auth-card__header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-card__icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: #EBF4FC;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 14px;
}

.auth-card__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
}

.auth-card__subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.auth-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 16px;
    padding-bottom: 8px;
    border-bottom: 1.5px dashed var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-section-title i {
    color: var(--accent);
    font-size: 0.95rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
}

@media (max-width: 640px) {
    .auth-grid {
        grid-template-columns: 1fr;
    }
    .auth-card--wide {
        padding: 32px 24px;
    }
}

.auth-field {
    margin-bottom: 20px;
}

.auth-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 7px;
}

.auth-field label .required {
    color: #EF4444;
}

.auth-field input,
.auth-field select,
.auth-field textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 0.94rem;
    font-family: inherit;
    color: var(--text-dark);
    background-color: #FAFAFC;
    transition: all 0.2s ease;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(45, 149, 225, 0.15);
}

.auth-field textarea {
    resize: vertical;
    min-height: 80px;
}

.auth-btn {
    width: 100%;
    padding: 12px 24px;
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    background: var(--primary);
    color: #FFFFFF;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(17, 73, 114, 0.2);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.auth-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(45, 149, 225, 0.3);
}

.auth-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-links a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.auth-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.auth-alert {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #B91C1C;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 0.88rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-alert i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.auth-field-error {
    color: #DC2626;
    font-size: 0.82rem;
    font-weight: 500;
    margin-top: 5px;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.captcha-svg {
    border-radius: var(--radius-md);
    overflow: hidden;
    line-height: 0;
    border: 1.5px solid var(--border-color);
    background: #FAFAFC;
}

.captcha-refresh {
    width: 48px;
    height: 48px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #FAFAFC;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    background: #EBF4FC;
    border-color: var(--accent);
    color: var(--accent);
}

.captcha-refresh i {
    display: inline-block;
    transition: transform 0.35s ease;
}

.captcha-refresh:hover i {
    transform: rotate(180deg);
}

/* Success Card */
.auth-success-badge {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #16A34A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin: 0 auto 18px;
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.1);
}

.auth-cred-box {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.auth-cred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #E2E8F0;
    font-size: 0.9rem;
}

.auth-cred-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.auth-cred-row code {
    background: #E2E8F0;
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(180deg, #0d3859 0%, #08243a 100%);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
    margin-top: auto;
}

/* Town City Skyline Silhouette Backdrop */
.site-footer__skyline {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 250px;
    background-image: url('../../images/city-skyline-silhouette.svg');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: 1600px 250px;
    pointer-events: none;
    opacity: 0.18;
    z-index: 1;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.site-footer__main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 42px 32px 28px;
    position: relative;
    z-index: 2;
}

.footer-col-brand .footer-logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-col-brand .footer-logo-box img {
    height: 48px;
    filter: brightness(0) invert(1);
}

.footer-col-brand .footer-logo-box strong {
    font-family: var(--font-heading);
    color: #FFFFFF;
    font-size: 1.15rem;
    display: block;
}

.footer-col-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-social-btn:hover {
    background: var(--accent);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.footer-heading,
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
    color: #FFFFFF !important;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.footer-heading::after,
.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 28px;
    height: 2px;
    background: var(--highlight);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-links li a:hover {
    color: var(--highlight) !important;
    transform: translateX(4px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--highlight) !important;
    margin-top: 4px;
}

.footer-map-container {
    border-radius: 12px !important;
    overflow: hidden !important;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.footer-map-container iframe {
    border-radius: 12px !important;
    display: block !important;
    width: 100% !important;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75) !important;
    position: relative;
    z-index: 2;
    background: rgba(6, 28, 45, 0.45);
    backdrop-filter: blur(3px);
}

.site-footer__bottom strong {
    color: #FFFFFF !important;
}

/* ==========================================================================
   Breadcrumb & Page Header Utilities
   ========================================================================== */
.ui-page-header {
    position: relative;
    background-color: #0d3859;
    padding: 28px 32px;
    border-radius: var(--radius-xl);
    color: #ffffff;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ui-page-header-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ui-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.85rem;
}

.ui-breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ui-breadcrumb-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.ui-breadcrumb-link:hover {
    color: var(--highlight);
}

.ui-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.ui-breadcrumb-current {
    color: #ffffff;
    font-weight: 600;
}

.ui-page-header-title {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff !important;
}

.ui-page-header-subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.6;
    max-width: 800px;
}

/* ==========================================================================
   Utility Classes (Font-size s-XX, Weights, Colors, Spacing)
   ========================================================================== */

/* Font Size Scale (s-9 to s-48) */
.s-9  { font-size: 9px !important; }
.s-10 { font-size: 10px !important; }
.s-11 { font-size: 11px !important; }
.s-12 { font-size: 12px !important; }
.s-13 { font-size: 13px !important; }
.s-14 { font-size: 14px !important; }
.s-15 { font-size: 15px !important; }
.s-16 { font-size: 16px !important; }
.s-17 { font-size: 17px !important; }
.s-18 { font-size: 18px !important; }
.s-20 { font-size: 20px !important; }
.s-22 { font-size: 22px !important; }
.s-24 { font-size: 24px !important; }
.s-26 { font-size: 26px !important; }
.s-28 { font-size: 28px !important; }
.s-30 { font-size: 30px !important; }
.s-32 { font-size: 32px !important; }
.s-36 { font-size: 36px !important; }
.s-40 { font-size: 40px !important; }
.s-48 { font-size: 48px !important; }

/* Font Weights */
.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }
.fw-900 { font-weight: 900 !important; }

/* Color Utilities */
.text-primary-color { color: var(--primary) !important; }
.text-accent-color  { color: var(--accent) !important; }
.text-highlight     { color: var(--highlight) !important; }
.text-muted-color   { color: var(--text-muted) !important; }
.text-dark-color    { color: var(--text-dark) !important; }
.text-white-color   { color: #FFFFFF !important; }
.text-white-75      { color: rgba(255, 255, 255, 0.75) !important; }
.text-white-85      { color: rgba(255, 255, 255, 0.85) !important; }

/* Background Utilities */
.bg-light-blue   { background-color: #EBF4FC !important; }
.bg-light-green  { background-color: #DCFCE7 !important; }
.bg-light-amber  { background-color: #FEF3C7 !important; }
.bg-light-purple { background-color: #F3E8FF !important; }
.bg-light-gray   { background-color: #F8FAFC !important; }
.bg-white-card   { background-color: #FFFFFF !important; }
.bg-white-15     { background-color: rgba(255, 255, 255, 0.15) !important; }

/* Border Utilities */
.border-card     { border: 1px solid var(--border-color) !important; }
.border-dashed   { border: 1.5px dashed var(--border-color) !important; }
.rounded-sm      { border-radius: var(--radius-sm) !important; }
.rounded-md      { border-radius: var(--radius-md) !important; }
.rounded-lg      { border-radius: var(--radius-lg) !important; }
.rounded-xl      { border-radius: var(--radius-xl) !important; }
.rounded-pill    { border-radius: 50px !important; }

/* ==========================================================================
   Reusable Component Classes
   ========================================================================== */

/* Main Panels */
.panel-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 24px 24px 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.panel-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.panel-badge {
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 4px;
}

.panel-title {
    font-size: 24px;
    color: var(--primary);
    margin: 0;
}

.panel-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Service Tiles */
.service-tile {
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
    height: 100%;
    transition: all 0.25s ease;
}

.service-tile:hover {
    border-color: var(--accent);
    background: #FFFFFF;
    box-shadow: var(--shadow-sm);
    transform: translateY(-3px);
}

.service-tile-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.service-icon--blue {
    background: #EBF4FC;
    color: var(--accent);
}

.service-icon--green {
    background: #DCFCE7;
    color: #16A34A;
}

.service-icon--amber {
    background: #FEF3C7;
    color: #D97706;
}

.service-icon--purple {
    background: #F3E8FF;
    color: #9333EA;
}

.service-tile-title {
    font-size: 16px;
    color: var(--primary);
    margin: 0 0 2px;
    font-weight: 700;
}

.service-tile-sub {
    color: var(--text-muted);
    font-size: 12px;
    display: block;
    margin-bottom: 10px;
}

.service-tile-desc {
    color: var(--text-body);
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 16px;
}

.service-tile-link {
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
}

/* Process & Steps */
.process-banner {
    background: #0d3859;
    border-radius: var(--radius-xl);
    padding: 24px;
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.process-badge {
    color: var(--highlight);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 4px;
}

.process-header-title {
    font-size: 24px;
    color: #FFFFFF !important;
    margin: 0 0 4px;
}

.process-header-desc {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 14px;
    margin: 0 0 20px;
}

.process-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    height: 100%;
}

.process-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.process-num--1 { background: var(--highlight); color: var(--primary); }
.process-num--2 { background: var(--accent); color: #FFFFFF; }
.process-num--3 { background: #10B981; color: #FFFFFF; }
.process-num--4 { background: #3B82F6; color: #FFFFFF; }

.process-step-title {
    color: #FFFFFF !important;
    font-size: 15px;
    margin-bottom: 6px;
    font-weight: 700;
}

.process-step-desc {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Sidebar Widgets */
.widget-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}

.widget-icon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.widget-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.widget-title {
    font-size: 17px;
    color: var(--primary);
    margin: 0;
    font-weight: 700;
}

.widget-subtitle {
    color: var(--text-muted);
    font-size: 12px;
    display: block;
}

.widget-text {
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.widget-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 4px;
}

.widget-tag--blue  { background: #EBF4FC; color: var(--accent); }
.widget-tag--green { background: #DCFCE7; color: #16A34A; }

.widget-feed-title {
    font-size: 14px;
    color: var(--text-dark);
    margin: 0 0 4px;
    font-weight: 600;
}

.widget-feed-date {
    color: var(--text-muted);
    font-size: 12px;
}

/* Helpdesk Box */
.helpdesk-box {
    background: #F8FAFC;
    border: 1.5px dashed var(--border-color);
    border-radius: var(--radius-xl);
    padding: 20px;
    text-align: left;
}

.helpdesk-title {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.helpdesk-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-body);
}

.helpdesk-row i {
    color: var(--accent);
    width: 16px;
}

.auth-alert-success {
    background: #DCFCE7;
    border: 1px solid #BBF7D0;
    color: #166534;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-header-bordered {
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 28px;
}

/* Color & Width Helpers */
.text-emerald { color: #10B981 !important; }
.max-w-480    { max-width: 480px !important; }
.max-w-540    { max-width: 540px !important; }
.max-w-760    { max-width: 760px !important; }
.max-w-1040   { max-width: 1040px !important; }

/* Icon Spin Utility */
.icon-spin {
    animation: icon-spin 1.5s infinite linear;
    display: inline-block;
}
@keyframes icon-spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(359deg); }
}

/* ==========================================================================
   Katalog Perizinan Components
   ========================================================================== */
.perm-hero-header {
    background: #0d3859;
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    color: #FFFFFF;
    margin-bottom: 24px;
}

.perm-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.perm-filter-btn {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.perm-filter-btn:hover,
.perm-filter-btn.active {
    background: #114972;
    color: #FFFFFF;
    border-color: #114972;
}

.perm-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.perm-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.perm-card-top {
    margin-bottom: 16px;
}

.prz-card-initial {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: #EFF6FF;
    color: #1E40AF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    width: fit-content;
}

/* Pagination Styling */
.pagination {
    margin-bottom: 0;
    gap: 4px;
}

.pagination .page-item .page-link {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    transition: all 0.2s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

.pagination .page-item .page-link:hover {
    background-color: #F1F5F9;
    border-color: #CBD5E1;
    color: var(--primary);
}

.pagination .page-item.disabled .page-link {
    color: #94A3B8;
    background-color: #F8FAFC;
    border-color: #E2E8F0;
}

.perm-opd-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.perm-opd--kesehatan { background: #EBF4FC; color: var(--accent); }
.perm-opd--pendidikan { background: #DCFCE7; color: #16A34A; }
.perm-opd--pupr       { background: #FEF3C7; color: #D97706; }
.perm-opd--lingkungan { background: #F3E8FF; color: #9333EA; }
.perm-opd--umum       { background: #F1F5F9; color: #475569; }

.perm-card-title {
    font-size: 16.5px;
    color: var(--primary);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.perm-card-desc {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 60px;
}

.perm-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-bottom: 14px;
}

.perm-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.perm-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* Modal Persyaratan Perizinan */
.modal-perm-header {
    background: #0d3859;
    color: #FFFFFF;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px 24px;
}

.modal-perm-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.req-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: #F8FAFC;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.req-info-item {
    font-size: 12.5px;
}

.req-info-label {
    color: var(--text-muted);
    display: block;
    margin-bottom: 2px;
    font-size: 11.5px;
}

.req-info-value {
    font-weight: 700;
    color: var(--primary);
}

.req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.req-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 13.5px;
    color: var(--text-dark);
}

.req-item-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #EBF4FC;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}

.req-item-mandatory {
    font-size: 11px;
    font-weight: 600;
    color: #DC2626;
    background: #FEE2E2;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
}

/* Wizard Step Form Elements */
.wizard-step-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-weight: 600;
    cursor: default;
}

.wizard-step-indicator .step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E2E8F0;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.wizard-step-indicator.active {
    color: var(--primary);
}

.wizard-step-indicator.active .step-circle {
    background: #114972;
    color: #FFFFFF;
}

.wizard-divider {
    height: 2px;
    background: var(--border-color);
    margin: 0 4px;
}

.hover-accent:hover {
    color: var(--accent) !important;
}

/* ==========================================================================
   Perizinan View & Left Navigation Flow (Sesuai Alur Legacy mysimponie)
   ========================================================================== */
.prz-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.prz-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.prz-content {
    flex: 1;
    min-width: 0;
}

/* Sidebar List Perizinan Card */
.prz-sidebar-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.prz-sidebar-header {
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
    padding: 14px 18px;
}

.prz-sidebar-title {
    margin: 0;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.prz-sidebar-search {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    background: #FFFFFF;
}

.prz-left-list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 520px;
    overflow-y: auto;
}

.prz-left-item {
    border-bottom: 1px solid #F1F5F9;
    transition: background 0.15s ease;
}

.prz-left-item:last-child {
    border-bottom: none;
}

.prz-left-item.active {
    background: #EBF4FC;
    border-left: 3px solid var(--accent);
}

.prz-left-item.active .prz-left-initial {
    color: var(--accent);
}

.prz-left-item.active .prz-left-chevron {
    color: var(--accent);
    transform: translateX(2px);
}

.prz-left-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    transition: all 0.15s ease;
}

.prz-left-link:hover {
    background: #F8FAFC;
}

.prz-left-chevron {
    color: #94A3B8;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.prz-left-text {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.prz-left-initial {
    font-weight: 700;
    color: var(--primary);
    font-size: 13px;
    white-space: nowrap;
}

.prz-left-name {
    color: var(--text-muted);
    font-size: 11.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Announcement Banner */
.prz-announce {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    background: #FFFFFF;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.prz-announce-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #EBF4FC;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.prz-announce-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-dark);
}

/* Tombol Daftar Sekarang */
.prz-daftar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #16A34A;
    color: #FFFFFF !important;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
    transition: all 0.2s ease;
}

.prz-daftar-btn:hover {
    background: #15803D;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.35);
}

/* Tabbed Information Panel */
.prz-tabs {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.prz-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background: #F8FAFC;
    overflow-x: auto;
}

.prz-tab-btn {
    padding: 13px 22px;
    font-size: 13.5px;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.prz-tab-btn:hover {
    color: var(--accent);
    background: rgba(4, 79, 160, 0.04);
}

.prz-tab-btn.active {
    color: var(--accent);
    background: #FFFFFF;
    border-bottom-color: var(--accent);
    font-weight: 700;
}

.prz-tab-pane {
    display: none;
    padding: 24px 28px;
}

.prz-tab-pane.active {
    display: block;
}

.prz-tab-heading {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.prz-tab-body {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-body);
}

.prz-tab-body ol,
.prz-tab-body ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.prz-tab-body li {
    margin-bottom: 8px;
}

/* Accordion Persyaratan Berjenjang */
.prz-syarat-group {
    margin-bottom: 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.prz-syarat-header {
    padding: 12px 16px;
    background: #F8FAFC;
    font-size: 13.5px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
    user-select: none;
}

.prz-syarat-header:hover {
    background: #EBF4FC;
}

.prz-syarat-chevron {
    font-size: 12px;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.prz-syarat-chevron.is-collapsed {
    transform: rotate(-90deg);
}

.prz-syarat-body {
    background: #FFFFFF;
}

.prz-syarat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #F1F5F9;
    font-size: 13.5px;
    color: var(--text-dark);
}

.prz-syarat-item:last-child {
    border-bottom: none;
}

.prz-syarat-num {
    color: var(--text-muted);
    font-size: 12.5px;
    font-weight: 600;
    min-width: 32px;
}

.prz-syarat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.prz-syarat-dot.wajib {
    background: var(--accent);
}

.prz-syarat-dot.tentatif {
    background: #CBD5E1;
}

.prz-syarat-text {
    flex: 1;
    line-height: 1.45;
}

.prz-syarat-badge {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.prz-syarat-badge.wajib {
    background: #E0F2FE;
    color: #0369A1;
}

.prz-syarat-badge.tentatif {
    background: #F1F5F9;
    color: #64748B;
}

/* ==========================================================================
   Smart Wizard & Pendaftaran Components (Port Smart Wizard mysimponie)
   ========================================================================== */
.dft-info-bar {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    box-shadow: var(--shadow-sm);
}

.smart-wizard-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.smart-tabbed-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    background: #F8FAFC;
    border-bottom: 2px solid var(--border-color);
    overflow-x: auto;
}

.smart-tab-item {
    flex: 1;
    min-width: 140px;
    text-align: center;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    user-select: none;
}

.smart-tab-item:last-child {
    border-right: none;
}

.smart-tab-link {
    padding: 12px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.smart-tab-num {
    font-size: 11px;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    transition: color 0.2s ease;
}

.smart-tab-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748B;
    transition: color 0.2s ease;
}

.smart-tab-item:hover {
    background: #F1F5F9;
}

.smart-tab-item.active {
    background: #FFFFFF;
    border-bottom-color: var(--accent);
}

.smart-tab-item.active .smart-tab-num {
    color: var(--accent);
}

.smart-tab-item.active .smart-tab-label {
    color: var(--primary);
    font-weight: 700;
}

.smart-tab-item.done {
    background: #F0FDF4;
    border-bottom-color: #22C55E;
}

.smart-tab-item.done .smart-tab-num {
    color: #16A34A;
}

.smart-tab-item.done .smart-tab-label {
    color: #15803D;
}

.smart-step-pane {
    display: none;
    padding: 24px 28px;
}

.smart-step-pane.active {
    display: block;
}

.smart-pane-header {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.smart-pane-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.smart-pane-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

/* Tabel Berkas Persyaratan Smart Wizard */
.dft-syarat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.dft-syarat-table th {
    background: #F8FAFC;
    padding: 10px 14px;
    text-align: left;
    font-weight: 700;
    color: var(--primary);
    border-bottom: 2px solid var(--border-color);
}

.dft-syarat-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.dft-syarat-table tr:hover td {
    background: #F8FAFC;
}

.dft-badge {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
}

.dft-badge.wajib {
    background: #E0F2FE;
    color: #0369A1;
}

.dft-badge.tentatif {
    background: #F1F5F9;
    color: #64748B;
}

.min-w-20 {
    min-width: 20px;
}

.w-40 {
    width: 40px;
}

.w-90 {
    width: 90px;
}

.w-220 {
    width: 220px;
}

@media (max-width: 991px) {
    .prz-layout {
        flex-direction: column;
    }
    .prz-sidebar {
        width: 100%;
    }
}

/* ==========================================================================
   Responsive & Mobile Breakpoints (Small Screens & Phones)
   ========================================================================== */

@media (max-width: 991px) {
    .sim-header__inner {
        padding: 10px 20px;
    }

    .sim-brand {
        min-width: 0;
        margin-right: 12px !important;
    }

    .sim-brand__text {
        min-width: 0;
    }

    .navbar-collapse {
        padding: 16px 0 10px;
        border-top: 1px solid rgba(17, 73, 114, 0.08);
    }

    .sim-menu {
        gap: 6px;
    }

    .sim-menu .nav-link {
        padding: 10px 14px !important;
        font-size: 0.9rem;
    }

    .sim-nav__right {
        width: 100%;
        padding-top: 12px;
        border-top: 1px dashed rgba(17, 73, 114, 0.08);
    }

    .sim-nav__right > .dropdown {
        width: 100%;
    }

    .sim-user-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .sim-user-pill.dropdown-toggle::after {
        margin-left: auto;
    }

    .sim-nav__right .sim-dropdown-menu {
        width: min(320px, calc(100vw - 40px));
        max-width: 100%;
    }

    .sim-btn-login,
    .sim-btn-register {
        flex: 1;
        text-align: center;
        justify-content: center;
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .sim-banner__inner {
        padding: 0 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sim-banner-title,
    .sim-ticker-viewport {
        width: 100%;
        min-width: 0;
    }

    .dash-container,
    .auth-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .dash-hero {
        padding: 30px 24px;
    }

    .dash-hero h1 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .sim-header__inner {
        padding: 10px 16px;
    }

    .sim-brand__logo {
        height: 38px;
    }

    .sim-brand__text strong {
        font-size: 1.05rem !important;
    }

    .sim-brand__text small {
        font-size: 0.72rem !important;
    }

    .sim-brand__app-title {
        font-size: 1.1rem;
        padding-right: 8px;
    }

    .sim-brand__text strong {
        font-size: 0.95rem !important;
    }

    .sim-brand__text small {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sim-banner {
        padding: 10px 0;
    }

    .sim-banner-title {
        font-size: 0.95rem;
    }

    .sim-banner-subtitle {
        font-size: 0.75rem;
    }

    .dash-container,
    .auth-container {
        padding-left: 14px;
        padding-right: 14px;
    }

    .dash-hero {
        padding: 24px 18px;
        border-radius: var(--radius-lg);
        margin-bottom: 20px;
    }

    .dash-hero h1 {
        font-size: 1.35rem !important;
        line-height: 1.35;
    }

    .dash-hero p {
        font-size: 0.88rem !important;
    }

    .dash-hero__header > div:last-child {
        width: 100%;
    }

    .dash-hero__header .sim-btn-login,
    .dash-hero__header .sim-btn-register {
        flex: 1;
        text-align: center;
        justify-content: center;
    }

    .dash-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-bottom: 20px;
    }

    .dash-stat-card {
        padding: 16px 14px;
        gap: 12px;
    }

    .dash-stat-icon {
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }

    .dash-stat-value {
        font-size: 0.95rem !important;
    }

    .dash-stat-label {
        font-size: 0.72rem !important;
    }

    .panel-card {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
        margin-bottom: 20px;
    }

    .panel-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .panel-title {
        font-size: 1.25rem !important;
    }

    .process-banner {
        padding: 24px 18px;
        border-radius: var(--radius-lg);
    }

    .process-header-title {
        font-size: 1.25rem !important;
    }

    .widget-box,
    .helpdesk-box {
        padding: 20px 16px;
        border-radius: var(--radius-lg);
        min-width: 0;
    }

    .widget-icon-header,
    .footer-contact-item {
        min-width: 0;
    }

    .widget-icon-header > div:last-child,
    .footer-contact-item > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .site-footer__main {
        overflow: hidden;
    }

    .site-footer__main {
        padding: 32px 18px 24px;
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .auth-section {
        min-height: auto;
        padding: 16px 0;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: var(--radius-lg);
    }

    .auth-card--wide {
        padding: 28px 18px;
    }

    .auth-card__title {
        font-size: 1.35rem !important;
    }
}

@media (max-width: 576px) {
    .sim-header__inner,
    .sim-banner__inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .sim-brand {
        gap: 8px;
        margin-right: 6px !important;
    }

    .sim-brand__app-title {
        font-size: 0.95rem;
        letter-spacing: 0;
        padding-right: 6px;
    }

    .sim-brand__text strong {
        font-size: 0.78rem !important;
    }

    .sim-brand__text small {
        max-width: 112px;
        font-size: 0.62rem !important;
    }

    .sim-banner-title {
        gap: 8px;
        font-size: 0.82rem;
    }

    .sim-banner-badge {
        font-size: 0.65rem;
        padding: 4px 8px;
    }

    .sim-user-pill {
        min-height: 42px;
        padding: 5px 10px 5px 7px;
        font-size: 0.82rem;
    }

    .sim-user-pill > span.d-none.d-sm-inline {
        display: block !important;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sim-nav__right .sim-dropdown-menu {
        width: calc(100vw - 28px);
        max-width: calc(100vw - 28px);
    }

    .sim-ticker-item {
        height: auto;
        min-height: 42px;
        padding: 3px 0;
        display: flex;
        align-items: center;
        font-size: 0.82rem;
        line-height: 1.35;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .sim-ticker-viewport {
        height: auto;
        min-height: 42px;
        line-height: 1.35;
        overflow: hidden;
        white-space: normal;
    }

    .sim-ticker-list {
        align-items: stretch;
    }

    .panel-card,
    .widget-box {
        max-width: 100%;
    }

    .site-footer__main {
        padding-left: 14px;
        padding-right: 14px;
    }

    .sim-help-menu__title,
    .sim-help-menu__subtitle {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .sim-help-item__title-row {
        flex-wrap: wrap;
    }

    .sim-help-item__desc {
        overflow-wrap: anywhere;
    }
}

/* ==========================================================================
   PROTOTYPE DESIGN GALLERY COMPONENT STYLES
   ========================================================================== */
.proto-filter-card {
    background: #ffffff;
    border-radius: var(--radius-lg, 12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 16px 20px;
    margin-bottom: 28px;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.proto-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.proto-filter-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: none;
    user-select: none;
}

.proto-filter-btn:hover {
    background: #f1f5f9;
    color: var(--primary, #114972);
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.proto-filter-btn.active {
    background: var(--primary, #114972);
    color: #ffffff;
    border-color: var(--primary, #114972);
    box-shadow: 0 4px 12px rgba(17, 73, 114, 0.25);
    font-weight: 600;
}

.proto-filter-btn .badge-count {
    display: inline-block;
    background: rgba(0, 0, 0, 0.08);
    color: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 999px;
    margin-left: 6px;
}

.proto-filter-btn.active .badge-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.proto-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.proto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.3);
}

.proto-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
}

.proto-thumb-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.proto-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #94a3b8;
}

.proto-thumb-placeholder i {
    font-size: 2.5rem;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.proto-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 61, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.proto-thumb-link:hover .proto-zoom-overlay {
    opacity: 1;
}

.proto-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.proto-card:hover .proto-thumb-img {
    transform: scale(1.06);
}

.proto-badge-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 61, 102, 0.85);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    z-index: 3;
}

.proto-code-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    color: #0b3d66;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.proto-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.proto-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b3d66;
    margin-bottom: 8px;
    line-height: 1.35;
}

.proto-desc {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.proto-specs-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.proto-spec-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.74rem;
    color: #475569;
    font-weight: 500;
}

.proto-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.proto-cost-box {
    display: flex;
    flex-direction: column;
}

.proto-cost-label {
    font-size: 0.68rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
}

.proto-cost-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #059669;
}

.proto-btn-detail {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #0284c7;
    color: #ffffff;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.proto-btn-detail:hover {
    background: #0369a1;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.proto-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px dashed #cbd5e1;
}

/* Proto pagination styling */
.proto-pagination-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 18px;
}

.proto-pagination-wrapper .pagination {
    margin: 0;
    gap: 5px;
}

.proto-pagination-wrapper .page-item .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.proto-pagination-wrapper .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
}

.proto-pagination-wrapper .page-item.disabled .page-link {
    background-color: #f8fafc;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.proto-pagination-wrapper .page-item .page-link:hover:not(.disabled) {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: var(--primary);
}

/* Modal detail styling */
.proto-modal-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
}

.proto-spec-table {
    width: 100%;
    font-size: 0.85rem;
}

.proto-spec-table th {
    width: 32%;
    color: #64748b;
    font-weight: 500;
    padding: 6px 0;
}

.proto-spec-table td {
    color: #1e293b;
    font-weight: 600;
    padding: 6px 0;
}

/* ==========================================================================
   FLOATING ACTION BUTTON & HELP CENTER MENU (Helita Avatar FAB Trigger)
   ========================================================================== */
.sim-floating-group {
    position: fixed;
    bottom: 0 !important;
    right: 20px !important;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none; /* Container tidak menghalangi klik, hanya child yang aktif */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Helita bergeser ke kiri untuk memberi ruang bagi floating action button (Aksesibilitas & Scroll to Top) di sisi kanan */
.sim-floating-group {
    transform: translateX(-64px);
}
.sim-floating-group.has-scroll-top {
    transform: translateX(-64px);
}

/* HELITA Avatar Main FAB Trigger (Menempel Rata di Dasar Layar) */
.sim-helita-fab-trigger {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    cursor: pointer !important;
    outline: none !important;
    position: relative;
    z-index: 1052;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    pointer-events: auto !important;
    line-height: 0 !important;
    transform: translateY(0); /* Posisi awal: menempel rata di dasar viewport */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sim-helita-fab-trigger:focus {
    outline: none !important;
}

/* Ukuran Helita Desktop Default: Proporsional & Presisi (170px x 170px) */
.sim-helita-fab-trigger .helita-assistant {
    position: relative;
    width: 170px;
    height: 170px;
    cursor: pointer !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    pointer-events: auto !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Animated Background Circles for Helita Avatar */
.sim-helita-fab-trigger .helita-assistant::before,
.sim-helita-fab-trigger .helita-assistant::after,
.sim-helita-fab-trigger .ripple-extra {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: #044FA0;
    background-image: linear-gradient(90deg, #044FA0, #F7D558);
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

.sim-helita-fab-trigger .helita-assistant::before {
    width: 85px;
    height: 85px;
    animation: helitaRippleEffect 1.8s ease-out infinite;
    animation-delay: 0s;
}

.sim-helita-fab-trigger .helita-assistant::after {
    width: 85px;
    height: 85px;
    animation: helitaRippleEffect 1.8s ease-out infinite;
    animation-delay: 0.6s;
}

.sim-helita-fab-trigger .ripple-extra {
    display: block;
    width: 85px;
    height: 85px;
    animation: helitaRippleEffect 1.8s ease-out infinite;
    animation-delay: 1.2s;
}

.sim-helita-fab-trigger .helita-assistant img {
    width: 100%;
    height: auto;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 2;
    pointer-events: auto !important;
    cursor: pointer !important;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.22));
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sim-helita-fab-trigger .helita-default {
    opacity: 1;
}

.sim-helita-fab-trigger .helita-hover {
    opacity: 0;
}

.sim-helita-fab-trigger:hover .helita-default {
    opacity: 0;
    transform: scale(1.08);
}

.sim-helita-fab-trigger:hover .helita-hover {
    opacity: 1;
    transform: scale(1.08);
}

/* Tooltip on Helita Hover */
.sim-helita-fab-trigger .helita-tooltip {
    position: absolute;
    right: calc(100% - 15px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    pointer-events: none;
    z-index: 1058;
}

.sim-helita-fab-trigger .helita-tooltip-text {
    display: block;
    background: #0b3d66;
    color: #ffffff;
    padding: 9px 16px;
    border-radius: 8px 0 0 8px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
    position: relative;
    font-family: var(--font-body, 'Poppins', sans-serif);
    letter-spacing: 0.3px;
}

.sim-helita-fab-trigger .helita-tooltip-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 7px solid transparent;
    border-left-color: #0b3d66;
}

.sim-helita-fab-trigger:hover .helita-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Hide tooltip when menu is open */
.sim-helita-fab-trigger.is-active .helita-tooltip {
    display: none !important;
}

@keyframes helitaRippleEffect {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.6;
    }
    60% {
        width: 230px;
        height: 230px;
        opacity: 0;
    }
    100% {
        width: 230px;
        height: 230px;
        opacity: 0;
    }
}

/* Helita Mascot Wrapper with Hide Trigger */
.sim-helita-mascot-wrapper {
    position: relative;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Tombol Sembunyikan Helita (Hanya Muncul saat Kursor Hover ke Helita) */
.helita-hide-btn {
    position: absolute;
    top: 14px;
    right: 18px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0b3d66;
    color: #ffffff;
    border: 2px solid #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1056;
    outline: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px) scale(0.85);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.helita-hide-btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 10px;
    line-height: 1;
    margin: 0;
    padding: 0;
    text-align: center;
}

.helita-hide-btn i:before {
    display: block;
    line-height: 1;
    margin: 0;
    padding: 0;
}

/* Muncul saat kursor berada di dalam frame maskot Helita */
.sim-helita-mascot-wrapper:hover .helita-hide-btn {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.helita-hide-btn:hover {
    background: #ef4444;
    border-color: #ffffff;
    transform: translateY(0) scale(1.15);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.45);
    color: #ffffff;
}

/* Floating Action Button Mini Helita (icon-headphones) */
.sim-floating-btn--helita {
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary, #114972);
    color: #ffffff;
    border: 2.5px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 8px rgba(17, 73, 114, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1054;
    transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.5);
    text-decoration: none !important;
}

.sim-floating-btn--helita:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 12px 28px rgba(17, 73, 114, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.6);
    color: #ffffff;
    background: var(--primary-light, #1e6091);
}

.sim-floating-btn--helita .sim-pulse-dot {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #10b981;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: helitaDotPulse 2s infinite;
}

@keyframes helitaDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* State: Helita Maskot Hidden */
body.helita-is-hidden #simFloatingGroup {
    display: none !important;
}

body.helita-is-hidden .sim-floating-btn--helita {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    animation: helitaFabZoomIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Ketika scroll mentok ke bawah & tombol ke atas muncul: geser FAB Helita ke atas */
body.helita-is-hidden.has-scroll-top .sim-floating-btn--helita {
    bottom: 84px !important;
}

@keyframes helitaFabZoomIn {
    from { opacity: 0; transform: scale(0.4) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Menu Footer Toggle Helita Size Button */
.btn-toggle-helita-size {
    background: transparent;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-toggle-helita-size:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Scroll to Top Button (Posisi Floating di Sisi Kanan Helita di Pojok Kanan Layar) */
.sim-floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(11, 61, 102, 0.18);
    position: relative;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.28s ease, box-shadow 0.25s ease, background 0.25s ease;
    text-decoration: none !important;
    outline: none !important;
    pointer-events: auto !important;
}

.sim-floating-btn i {
    font-size: 1.25rem;
    line-height: 1;
}

.sim-floating-btn--top {
    position: fixed;
    bottom: 24px;
    right: 20px;
    background: #ffffff;
    color: var(--primary, #114972);
    border: 1px solid #cbd5e1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.7);
    pointer-events: none;
    z-index: 1055;
    box-shadow: 0 6px 18px rgba(17, 73, 114, 0.18);
    margin: 0;
}

.sim-floating-btn--top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.sim-floating-btn--top:hover {
    background: var(--primary, #114972);
    color: #ffffff;
    border-color: var(--primary, #114972);
    box-shadow: 0 8px 24px rgba(17, 73, 114, 0.35);
}

.sim-floating-btn--top.is-visible:hover {
    transform: translateY(-3px) scale(1.08);
}

/* Floating Action Button: Aksesibilitas (#btnFloatingAccessibility)
   Posisi default: di pojok kanan bawah (bottom: 24px, right: 20px), berdampingan dengan Helita yang bergeser ke kiri */
.sim-floating-btn--a11y,
.sim-floating-btn--info {
    position: fixed !important;
    bottom: 24px !important;
    right: 20px !important;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary, #114972) !important;
    color: #ffffff !important;
    border: 2.5px solid #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 255, 255, 0.25), 0 2px 8px rgba(17, 73, 114, 0.4) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 21px !important;
    cursor: pointer;
    z-index: 1054;
    pointer-events: auto;
    transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                right 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), 
                box-shadow 0.25s ease, 
                background 0.25s ease, 
                color 0.25s ease !important;
    text-decoration: none !important;
    outline: none !important;
}

.sim-floating-btn--a11y:hover,
.sim-floating-btn--info:hover {
    background: var(--primary-light, #1e6091) !important;
    color: #ffffff !important;
    transform: scale(1.12) translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(17, 73, 114, 0.55), 0 0 0 2px rgba(255, 255, 255, 0.6) !important;
}

.sim-pulse-dot--amber {
    position: absolute !important;
    top: -1px !important;
    right: -1px !important;
    width: 13px !important;
    height: 13px !important;
    border-radius: 50% !important;
    background: #f59e0b !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7) !important;
    animation: amberDotPulse 2s infinite !important;
}

@keyframes amberDotPulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Saat tombol kembali ke atas muncul (#btnScrollToTop pada bottom: 24px):
   Tombol Aksesibilitas naik rapi tepat di atasnya (bottom: 84px) */
body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y,
body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info {
    bottom: 84px !important;
    right: 20px !important;
    transform: none !important;
}

body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y:hover,
body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info:hover {
    transform: scale(1.12) translateY(-2px) !important;
}

/* Posisi saat Helita di-hide (Mini Helita aktif di bottom: 24px):
   Tombol Aksesibilitas berada di atas Mini Helita (bottom: 84px) */
body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y,
body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info {
    bottom: 84px !important;
    right: 20px !important;
    transform: none !important;
}

body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y:hover,
body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info:hover {
    transform: scale(1.12) translateY(-2px) !important;
}

/* Saat Helita di-hide DAN tombol kembali ke atas muncul:
   Stack dari bawah: Tombol ke atas (24px) -> Mini Helita (84px) -> Aksesibilitas (144px) */
body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y,
body.helita-is-hidden.has-scroll-top .sim-floating-btn--info {
    bottom: 144px !important;
    right: 20px !important;
    transform: none !important;
}

body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y:hover,
body.helita-is-hidden.has-scroll-top .sim-floating-btn--info:hover {
    transform: scale(1.12) translateY(-2px) !important;
}

/* Tooltip on Hover */
.sim-floating-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.22s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.sim-floating-btn:hover .sim-floating-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   POPUP HELP MENU CARD (Clean Solid Design & Modern Enterprise Style)
   ========================================================================== */
.sim-help-menu {
    position: fixed !important;
    bottom: 25px;
    right: 185px;
    width: 385px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.22), 0 0 0 1px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(16px) scale(0.95);
    transform-origin: bottom right;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.22s ease, visibility 0.22s ease, bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1060;
}

/* Panah / Pointer Arrow Menunjuk ke Maskot Helita */
.sim-help-menu::after {
    content: '';
    position: absolute;
    right: -10px;
    bottom: 35px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #ffffff;
    z-index: 2;
}

.sim-help-menu::before {
    content: '';
    position: absolute;
    right: -12px;
    bottom: 34px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 11px solid #cbd5e1;
    z-index: 1;
}

.sim-help-menu.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) scale(1) !important;
}

/* Help Menu Header: Solid Single Color with High Contrast Text */
.sim-help-menu__header {
    background-color: #0b3d66;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    position: relative;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sim-help-menu__header-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #ffffff;
}

.sim-help-menu__header-info {
    flex: 1;
    min-width: 0;
}

.sim-help-menu__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 2px 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.sim-help-menu__subtitle {
    font-size: 0.78rem;
    color: #e2e8f0 !important;
    margin: 0;
    line-height: 1.25;
    font-weight: 400;
    white-space: nowrap;
}

.sim-help-menu__close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff !important;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sim-help-menu__close:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.28);
}

/* Help Menu Body */
.sim-help-menu__body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

/* Option Cards */
.sim-help-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none !important;
    color: #1e293b;
    cursor: pointer;
    transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}

.sim-help-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
}

.sim-help-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.25s ease;
}

.sim-help-item:hover .sim-help-item__icon {
    transform: scale(1.08);
}

/* WhatsApp Option Styling */
.sim-help-item--wa:hover {
    border-color: #25D366;
    background: linear-gradient(to right, #ffffff, #f0fdf4);
}

.sim-help-item--wa .sim-help-item__icon {
    background: #dcfce7;
    color: #16a34a;
}

/* Helita AI Option Styling */
.sim-help-item--helita:hover {
    border-color: #0284c7;
    background: linear-gradient(to right, #ffffff, #f0f9ff);
}

.sim-help-item--helita .sim-help-item__icon {
    background: #e0f2fe;
    color: #0284c7;
}

.sim-help-item__sparkle-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #f59e0b;
    color: #ffffff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    border: 2px solid #ffffff;
}

/* Content Area */
.sim-help-item__content {
    flex: 1;
    min-width: 0;
}

.sim-help-item__title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 3px;
}

.sim-help-item__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.sim-help-item__badge {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.sim-help-item__badge--wa {
    background: #dcfce7;
    color: #15803d;
}

.sim-help-item__badge--ai {
    background: #e0f2fe;
    color: #0369a1;
}

.sim-help-item__desc {
    font-size: 0.78rem;
    color: #475569;
    margin: 0;
    line-height: 1.35;
}

.sim-help-item__arrow {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.sim-help-item:hover .sim-help-item__arrow {
    color: #0284c7;
    transform: translateX(3px);
}

/* Footer note */
.sim-help-menu__footer {
    padding: 9px 16px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* ==========================================================================
   RESPONSIVE FLOATING GROUP & HELITA MASCOT ACROSS SCREEN SIZES
   ========================================================================== */

/* 1. Laptop & Layar Menengah (992px s/d 1199.98px) */
@media (max-width: 1199.98px) {
    .sim-helita-fab-trigger .helita-assistant {
        width: 145px;
        height: 145px;
    }

    .sim-helita-fab-trigger .helita-assistant::before,
    .sim-helita-fab-trigger .helita-assistant::after,
    .sim-helita-fab-trigger .ripple-extra {
        width: 75px;
        height: 75px;
    }

    .helita-hide-btn {
        top: 8px;
        right: 12px;
        width: 22px;
        height: 22px;
    }

    .sim-help-menu {
        bottom: 20px;
        right: 155px;
        width: 360px;
    }

    .sim-help-menu::after {
        bottom: 28px;
    }

    .sim-help-menu::before {
        bottom: 27px;
    }

    .sim-floating-group {
        transform: translateX(-56px);
    }
    .sim-floating-group.has-scroll-top {
        transform: translateX(-56px);
    }

    .sim-floating-btn--a11y,
    .sim-floating-btn--info {
        bottom: 24px !important;
        right: 20px !important;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info {
        bottom: 84px !important;
        right: 20px !important;
        transform: none !important;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y:hover,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }
}

/* 2. Layar Tablet (768px s/d 991.98px) */
@media (max-width: 991.98px) {
    .sim-helita-fab-trigger .helita-assistant {
        width: 110px;
        height: 110px;
    }

    .sim-helita-fab-trigger .helita-assistant::before,
    .sim-helita-fab-trigger .helita-assistant::after,
    .sim-helita-fab-trigger .ripple-extra {
        width: 55px;
        height: 55px;
    }

    .helita-hide-btn {
        top: 6px;
        right: 8px;
        width: 22px;
        height: 22px;
        background: #ef4444 !important;
        border: 2px solid #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .helita-hide-btn i {
        font-size: 9px;
        color: #ffffff !important;
    }

    /* Di layar tablet/touch, nonaktifkan tooltip hover */
    .sim-helita-fab-trigger .helita-tooltip {
        display: none !important;
    }

    .sim-help-menu {
        position: fixed !important;
        bottom: 125px !important;
        right: 16px !important;
        left: auto !important;
        width: 350px !important;
        max-width: calc(100vw - 32px) !important;
        border-radius: 14px !important;
        z-index: 1060 !important;
        transform: translateY(14px) scale(0.95);
        transform-origin: bottom right;
    }

    .sim-help-menu.is-open {
        transform: translateY(0) scale(1) !important;
    }

    .sim-help-menu::before,
    .sim-help-menu::after {
        display: none !important;
    }

    .sim-floating-group {
        transform: translateX(-52px);
    }
    .sim-floating-group.has-scroll-top {
        transform: translateX(-52px);
    }

    .sim-floating-btn {
        width: 44px;
        height: 44px;
    }

    .sim-floating-btn--top {
        bottom: 20px;
        right: 16px;
    }

    .sim-floating-btn--helita {
        bottom: 20px;
        right: 16px;
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--helita {
        bottom: 74px !important;
    }

    .sim-floating-btn--a11y,
    .sim-floating-btn--info {
        bottom: 20px !important;
        right: 16px !important;
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info {
        bottom: 74px !important;
        right: 16px !important;
        transform: none !important;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y:hover,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }

    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y,
    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info {
        bottom: 74px !important;
        right: 16px !important;
        transform: none !important;
    }

    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y:hover,
    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y,
    body.helita-is-hidden.has-scroll-top .sim-floating-btn--info {
        bottom: 128px !important;
        right: 16px !important;
        transform: none !important;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y:hover,
    body.helita-is-hidden.has-scroll-top .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }
}

/* 3. Layar HP Smartphone Standar (max-width: 767.98px) */
@media (max-width: 767.98px) {
    .sim-floating-group {
        right: 12px !important;
        bottom: 0 !important;
    }

    .sim-helita-fab-trigger .helita-assistant {
        width: 86px;
        height: 86px;
    }

    .sim-helita-fab-trigger .helita-assistant::before,
    .sim-helita-fab-trigger .helita-assistant::after,
    .sim-helita-fab-trigger .ripple-extra {
        width: 44px;
        height: 44px;
    }

    .helita-hide-btn {
        top: 2px;
        right: 4px;
        width: 21px;
        height: 21px;
        background: #ef4444 !important;
        border: 2px solid #ffffff !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
    }

    .helita-hide-btn i {
        font-size: 9px;
        color: #ffffff !important;
    }

    .sim-helita-fab-trigger .helita-tooltip {
        display: none !important;
    }

    /* Modal / Bottom Sheet Popup Menu di HP */
    .sim-help-menu {
        position: fixed !important;
        bottom: 85px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        max-width: 400px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 14px !important;
        z-index: 1060 !important;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.08) !important;
        transform: translateY(20px) scale(0.95);
        transform-origin: center bottom;
    }

    .sim-help-menu.is-open {
        transform: translateY(0) scale(1) !important;
    }

    .sim-help-menu::before,
    .sim-help-menu::after {
        display: none !important;
    }

    .sim-help-menu__header {
        padding: 12px 14px;
    }

    .sim-help-menu__header-icon {
        width: 34px;
        height: 34px;
        font-size: 1.05rem;
        border-radius: 9px;
    }

    .sim-help-menu__title {
        font-size: 0.88rem;
    }

    .sim-help-menu__subtitle {
        font-size: 0.72rem;
    }

    .sim-help-menu__body {
        padding: 10px 12px;
        gap: 8px;
    }

    .sim-help-item {
        padding: 9px 11px;
        border-radius: 10px;
        gap: 10px;
    }

    .sim-help-item__icon {
        width: 36px;
        height: 36px;
        font-size: 1.15rem;
        border-radius: 9px;
    }

    .sim-help-item__title {
        font-size: 0.82rem;
    }

    .sim-help-item__desc {
        font-size: 0.70rem;
        line-height: 1.3;
    }

    .sim-floating-group {
        transform: translateX(-46px);
    }
    .sim-floating-group.has-scroll-top {
        transform: translateX(-46px);
    }

    .sim-floating-btn {
        width: 40px;
        height: 40px;
    }

    .sim-floating-btn i {
        font-size: 1.05rem;
    }

    .sim-floating-btn--top {
        bottom: 16px;
        right: 12px;
    }

    .sim-floating-btn--helita {
        bottom: 16px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--helita {
        bottom: 64px !important;
    }

    .sim-floating-btn--a11y,
    .sim-floating-btn--info {
        bottom: 16px !important;
        right: 12px !important;
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info {
        bottom: 64px !important;
        right: 12px !important;
        transform: none !important;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y:hover,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }

    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y,
    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info {
        bottom: 64px !important;
        right: 12px !important;
        transform: none !important;
    }

    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y:hover,
    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y,
    body.helita-is-hidden.has-scroll-top .sim-floating-btn--info {
        bottom: 114px !important;
        right: 12px !important;
        transform: none !important;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y:hover,
    body.helita-is-hidden.has-scroll-top .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }
}

/* 4. Layar HP Ukuran Kecil / Extra Small (< 480px, e.g. iPhone SE, 360px - 414px) */
@media (max-width: 480px) {
    .sim-floating-group {
        right: 8px !important;
    }

    .sim-helita-fab-trigger .helita-assistant {
        width: 78px;
        height: 78px;
    }

    .sim-helita-fab-trigger .helita-assistant::before,
    .sim-helita-fab-trigger .helita-assistant::after,
    .sim-helita-fab-trigger .ripple-extra {
        width: 38px;
        height: 38px;
    }

    .helita-hide-btn {
        top: 1px;
        right: 3px;
        width: 19px;
        height: 19px;
    }

    .helita-hide-btn i {
        font-size: 8px;
    }

    .sim-help-menu {
        bottom: 78px !important;
        right: 8px !important;
        left: 8px !important;
        width: auto !important;
        max-width: calc(100vw - 16px) !important;
        border-radius: 12px !important;
    }

    .sim-help-menu__header {
        padding: 10px 12px;
    }

    .sim-help-menu__header-icon {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
        border-radius: 8px;
    }

    .sim-help-menu__title {
        font-size: 0.82rem;
    }

    .sim-help-menu__subtitle {
        font-size: 0.68rem;
    }

    .sim-help-menu__body {
        padding: 8px 10px;
        gap: 7px;
    }

    .sim-help-item {
        padding: 8px 10px;
        border-radius: 9px;
        gap: 8px;
    }

    .sim-help-item__icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .sim-help-item__title {
        font-size: 0.78rem;
    }

    .sim-help-item__desc {
        font-size: 0.67rem;
        line-height: 1.25;
    }

    .sim-floating-group {
        transform: translateX(-40px);
    }
    .sim-floating-group.has-scroll-top {
        transform: translateX(-40px);
    }

    .sim-floating-btn {
        width: 34px;
        height: 34px;
    }

    .sim-floating-btn i {
        font-size: 0.95rem;
    }

    .sim-floating-btn--top {
        bottom: 12px;
        right: 8px;
    }

    .sim-floating-btn--helita {
        bottom: 12px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--helita {
        bottom: 54px !important;
    }

    .sim-floating-btn--a11y,
    .sim-floating-btn--info {
        bottom: 12px !important;
        right: 8px !important;
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info {
        bottom: 54px !important;
        right: 8px !important;
        transform: none !important;
    }

    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--a11y:hover,
    body.has-scroll-top:not(.helita-is-hidden) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }

    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y,
    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info {
        bottom: 54px !important;
        right: 8px !important;
        transform: none !important;
    }

    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--a11y:hover,
    body.helita-is-hidden:not(.has-scroll-top) .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y,
    body.helita-is-hidden.has-scroll-top .sim-floating-btn--info {
        bottom: 98px !important;
        right: 8px !important;
        transform: none !important;
    }

    body.helita-is-hidden.has-scroll-top .sim-floating-btn--a11y:hover,
    body.helita-is-hidden.has-scroll-top .sim-floating-btn--info:hover {
        transform: scale(1.12) translateY(-2px) !important;
    }
}

/* ==========================================================================
   Cek Status Permohonan Components (Port Modern mysimponie)
   ========================================================================== */
.cs-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.cs-filter-bar {
    padding: 16px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.cs-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.cs-table th {
    background: #F1F5F9;
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.cs-table td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.cs-table tr:last-child td {
    border-bottom: none;
}

.cs-table tr:hover td {
    background-color: #F8FAFC;
}

.cs-reg-id {
    font-family: monospace;
    font-weight: 700;
    color: var(--primary);
    background: #EBF4FC;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12.5px;
    display: inline-block;
}

.cs-action-btn {
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Step Progress Tracker di Modal */
.cs-tracker {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 20px 0 28px;
}

.cs-tracker::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: #E2E8F0;
    z-index: 1;
}

.cs-tracker-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.cs-tracker-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid #CBD5E1;
    color: #64748B;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.cs-tracker-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748B;
    display: block;
}

.cs-tracker-step.active .cs-tracker-icon {
    border-color: var(--accent);
    background: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(45, 149, 225, 0.2);
}

.cs-tracker-step.active .cs-tracker-label {
    color: var(--primary);
    font-weight: 700;
}

.cs-tracker-step.done .cs-tracker-icon {
    border-color: #16A34A;
    background: #16A34A;
    color: #FFFFFF;
}

.cs-tracker-step.done .cs-tracker-label {
    color: #15803D;
}

/* Timeline Histori Pemrosesan */
.cs-timeline {
    position: relative;
    padding-left: 24px;
    margin-top: 12px;
}

.cs-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #E2E8F0;
}

.cs-timeline-item {
    position: relative;
    margin-bottom: 16px;
}

.cs-timeline-item:last-child {
    margin-bottom: 0;
}

.cs-timeline-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 3px solid var(--accent);
}

.cs-timeline-time {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.cs-timeline-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.cs-timeline-desc {
    font-size: 12.5px;
    color: var(--text-body);
    margin: 0;
}

/* ==========================================================================
   DataTables Modern Bootstrap 5 Styling
   ========================================================================== */
.dataTables_wrapper,
div.dt-container {
    position: relative;
    clear: both;
}

/* Header & Footer Toolbar: Show entries, Search, Info, Pagination */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
div.dt-container .dt-length,
div.dt-container .dt-search {
    padding: 16px 20px;
    font-size: 13.5px;
    color: var(--text-muted);
}

.dataTables_wrapper .dataTables_length,
div.dt-container .dt-length {
    float: left;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.dataTables_wrapper .dataTables_length label,
div.dt-container .dt-length label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 0;
    font-size: 13px;
    color: var(--text-muted);
}

.dataTables_wrapper .dataTables_length select,
div.dt-container .dt-length select,
div.dt-container select.form-select-sm,
.dataTables_length select.form-select,
.dataTables_length select.form-select-sm {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    min-width: 52px !important;
    width: auto !important;
    padding: 4px 22px 4px 8px !important;
    margin: 0 4px !important;
    font-size: 13px;
    color: var(--text-dark);
    background-color: #FFFFFF;
    background-position: right 6px center !important;
    background-size: 10px 8px !important;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.dataTables_wrapper .dataTables_length select:focus,
div.dt-container .dt-length select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 149, 225, 0.15);
}

.dataTables_wrapper .dataTables_filter,
div.dt-container .dt-search {
    float: right;
    text-align: right;
}

.dataTables_wrapper .dataTables_filter label,
div.dt-container .dt-search label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_filter input,
div.dt-container .dt-search input,
div.dt-container input.form-control-sm {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 6px 14px;
    font-size: 13px;
    width: 240px;
    color: var(--text-dark);
    background-color: #FFFFFF;
    outline: none;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input:focus,
div.dt-container .dt-search input:focus {
    border-color: var(--accent);
    width: 280px;
    box-shadow: 0 0 0 3px rgba(45, 149, 225, 0.15);
}

/* Clearfix for table */
.dataTables_wrapper table.dataTable,
div.dt-container table.dataTable {
    clear: both;
    width: 100% !important;
    margin: 0 !important;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-collapse: collapse !important;
}

/* DataTables Thead & Column Ordering (Simponie-v2 standard: Title on left, sort arrows on far right) */
.dataTables_wrapper table.dataTable thead th,
table.dataTable thead th,
table.dataTable thead td,
div.dt-container table.dataTable thead th {
    background: #F8FAFC !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2px;
    padding: 12px 14px !important;
    border-bottom: 2px solid var(--border-color) !important;
    text-align: left !important;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
}

table.dataTable thead th.text-center,
table.dataTable thead td.text-center {
    text-align: center !important;
}

table.dataTable th.dt-type-numeric,
table.dataTable th.dt-type-date,
table.dataTable td.dt-type-numeric,
table.dataTable td.dt-type-date {
    text-align: left !important;
}

table.dataTable th.dt-type-numeric.text-center,
table.dataTable td.dt-type-numeric.text-center {
    text-align: center !important;
}

table.dataTable thead th div.dt-column-header,
table.dataTable thead td div.dt-column-header,
table.dataTable th.dt-type-numeric div.dt-column-header,
table.dataTable th.dt-type-date div.dt-column-header,
table.dataTable th.dt-type-numeric div.dt-column-footer,
table.dataTable th.dt-type-date div.dt-column-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    gap: 8px !important;
}

table.dataTable thead th div.dt-column-header span.dt-column-title {
    text-align: left !important;
    flex-grow: 1 !important;
}

table.dataTable thead th.text-center div.dt-column-header {
    justify-content: center !important;
}

table.dataTable thead th.text-center div.dt-column-header span.dt-column-title {
    text-align: center !important;
    flex-grow: 0 !important;
}

table.dataTable thead th div.dt-column-header span.dt-column-order {
    flex-shrink: 0 !important;
    margin-left: auto !important;
    opacity: 0.35;
}

table.dataTable thead th.dt-ordering-asc div.dt-column-header span.dt-column-order,
table.dataTable thead th.dt-ordering-desc div.dt-column-header span.dt-column-order {
    opacity: 1 !important;
}

table.dataTable thead th.dt-orderable-none div.dt-column-header span.dt-column-order {
    display: none !important;
}

.dataTables_wrapper table.dataTable tbody td,
div.dt-container table.dataTable tbody td {
    padding: 14px 16px;
    vertical-align: middle;
    font-size: 13.5px;
    border-bottom: 1px solid #F1F5F9;
    color: var(--text-dark);
}

.dataTables_wrapper table.dataTable tbody tr:hover,
div.dt-container table.dataTable tbody tr:hover {
    background-color: #F8FAFC;
}

/* Footer Toolbar: Info & Pagination */
.dataTables_wrapper .dataTables_info,
div.dt-container .dt-info {
    float: left;
    padding: 16px 20px;
    font-size: 13px;
    color: var(--text-muted);
}

.dataTables_wrapper .dataTables_paginate,
div.dt-container .dt-paging {
    float: right;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button,
div.dt-container .dt-paging .page-link,
div.dt-container .dt-paging .paginate_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-color) !important;
    background: #FFFFFF !important;
    color: var(--text-dark) !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    user-select: none;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover,
div.dt-container .dt-paging .page-link:hover,
div.dt-container .dt-paging .paginate_button:hover {
    background: #F1F5F9 !important;
    border-color: #CBD5E1 !important;
    color: var(--primary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
div.dt-container .dt-paging .page-item.active .page-link,
div.dt-container .dt-paging .paginate_button.current {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #FFFFFF !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-xs);
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
div.dt-container .dt-paging .page-item.disabled .page-link,
div.dt-container .dt-paging .paginate_button.disabled {
    background: #FFFFFF !important;
    border-color: #E2E8F0 !important;
    color: #CBD5E1 !important;
    cursor: not-allowed !important;
    opacity: 0.5;
}

/* Clearfix footer container */
.dataTables_wrapper::after,
div.dt-container::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive DataTables */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate,
    div.dt-container .dt-length,
    div.dt-container .dt-search,
    div.dt-container .dt-info,
    div.dt-container .dt-paging {
        float: none !important;
        text-align: left !important;
        padding: 10px 16px;
    }

    .dataTables_wrapper .dataTables_filter,
    div.dt-container .dt-search {
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter input,
    div.dt-container .dt-search input {
        width: 100% !important;
    }

    .dataTables_wrapper .dataTables_paginate,
    div.dt-container .dt-paging {
        justify-content: flex-start !important;
        flex-wrap: wrap;
    }
}

/* ==========================================================================
   Select2 Modern Bootstrap 5 Integration
   ========================================================================== */
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 38px !important;
    background-color: #FFFFFF !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px !important;
    padding: 4px 10px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    display: flex !important;
    align-items: center !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.15) !important;
    outline: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1E293B !important;
    padding-left: 0 !important;
    padding-right: 24px !important;
    line-height: normal !important;
    font-size: 14px !important;
    font-weight: 500;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94A3B8 !important;
    font-size: 14px !important;
    font-weight: 400;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 8px !important;
    top: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748B transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #2563EB transparent !important;
    border-width: 0 4px 5px 4px !important;
}

.select2-selection__clear {
    display: none !important;
}

.select2-dropdown {
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08) !important;
    font-family: inherit !important;
    font-size: 14px !important;
    z-index: 1060 !important;
    overflow: hidden !important;
}

.select2-search--dropdown {
    padding: 8px !important;
    background: #F8FAFC !important;
    border-bottom: 1px solid #E2E8F0 !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #CBD5E1 !important;
    border-radius: 6px !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #2563EB !important;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15) !important;
}

.select2-results__option {
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    color: #334155 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #2563EB !important;
    color: #FFFFFF !important;
}

.select2-container--default .select2-results__option--selected {
    background-color: #EFF6FF !important;
    color: #1D4ED8 !important;
    font-weight: 600;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #F1F5F9 !important;
    border-color: #E2E8F0 !important;
    cursor: not-allowed !important;
    color: #94A3B8 !important;
}

/* ==========================================================================
   Modul Profil & 2FA Security
   ========================================================================== */
.letter-spacing-2 {
    letter-spacing: 2px !important;
}

.profile-avatar-large {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

.profile-nav-tabs {
    border-bottom: 2px solid #E2E8F0;
    gap: 8px;
}

.profile-nav-tabs .nav-link {
    color: #64748B;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    transition: all 0.15s ease-in-out;
}

.profile-nav-tabs .nav-link:hover {
    color: #2563EB;
}

.profile-nav-tabs .nav-link.active {
    color: #2563EB;
    border-bottom-color: #2563EB;
    background: transparent;
}

.profile-detail-card {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.profile-section-heading {
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 10px;
    margin-bottom: 16px;
}

.profile-info-row {
    padding: 8px 0;
    border-bottom: 1px dashed #F1F5F9;
}

.profile-info-row:last-child {
    border-bottom: none;
}

.profile-qr-wrapper {
    background: #FFFFFF;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 16px;
    display: inline-block;
}

.profile-secret-badge {
    background: #F8FAFC;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    padding: 8px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #0F172A;
}

.profile-icon-badge {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-icon-badge--blue {
    background-color: #EFF6FF;
    color: #2563EB;
}

.profile-icon-badge--green {
    background-color: #ECFDF5;
    color: #10B981;
}

.profile-step-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background-color: #2563EB;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.table.info tr td,
.table.info tr th {
    border: none !important;
    vertical-align: top;
    word-break: break-all;
}

/* ==========================================================================
   CUSTOM LOADER SYSTEM (DPMPTSP THEMED)
   ========================================================================== */
.sim-page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.sim-page-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.sim-loader-spinner-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sim-spinner-ring-outer {
    position: absolute;
    width: 76px;
    height: 76px;
    border: 3px solid transparent;
    border-top-color: #0284c7;
    border-right-color: #0284c7;
    border-radius: 50%;
    animation: simSpin 1s cubic-bezier(0.55, 0.25, 0.25, 0.7) infinite;
}

.sim-spinner-ring-inner {
    position: absolute;
    width: 54px;
    height: 54px;
    border: 3px solid transparent;
    border-bottom-color: #0d2b45;
    border-left-color: #0d2b45;
    border-radius: 50%;
    animation: simSpinReverse 0.75s linear infinite;
}

.sim-loader-logo-icon {
    width: 28px;
    height: 28px;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    animation: simPulse 1.5s ease-in-out infinite;
}

.sim-loader-text-group {
    margin-top: 1.25rem;
    text-align: center;
}

.sim-loader-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0d2b45;
    letter-spacing: 0.5px;
}

.sim-loader-subtitle {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

@keyframes simSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes simSpinReverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes simPulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Modal Loader for AJAX Processing */
.modal-sim-loader .modal-content {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px rgba(13, 43, 69, 0.18);
    padding: 1.75rem;
}

.modal-sim-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid #e2e8f0;
    border-top-color: #0284c7;
    border-radius: 50%;
    animation: simSpin 0.8s linear infinite;
    margin: 0 auto;
}

/* ==========================================================================
   ALERTS COMPONENT SYSTEM (BOOTSTRAP 5)
   ========================================================================== */
.sim-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
    position: relative;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sim-alert__icon {
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.sim-alert__content {
    flex: 1;
    font-size: 13.5px;
    line-height: 1.5;
}

.sim-alert__title {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2px;
}

.sim-alert--success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}
.sim-alert--success .sim-alert__icon {
    color: #16a34a;
}

.sim-alert--danger {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}
.sim-alert--danger .sim-alert__icon {
    color: #dc2626;
}

.sim-alert--warning {
    background-color: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}
.sim-alert--warning .sim-alert__icon {
    color: #d97706;
}

.sim-alert--info {
    background-color: #f0f9ff;
    border-color: #bae6fd;
    color: #075985;
}
.sim-alert--info .sim-alert__icon {
    color: #0284c7;
}

.sim-alert .btn-close {
    padding: 1rem 1rem;
    background-size: 0.75rem;
}

/* ==========================================================================
   FANCYBOX PERMOHONAN STEPPER TABS & DETAIL
   ========================================================================== */
.step-app {
    background: #f8fafc;
    padding: 15px 20px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 10;
}

.step-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
}

.step-steps li {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
    border-bottom: 3px solid transparent;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    position: relative;
    user-select: none;
}

.step-steps li:hover:not(.active) {
    color: #0284c7;
    background-color: rgba(2, 132, 199, 0.05);
    border-bottom-color: rgba(2, 132, 199, 0.3);
}

.step-steps li.active {
    color: #0284c7;
    background: #ffffff;
    border-color: #e2e8f0;
    border-bottom-color: #0284c7;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.03);
}

.step-steps li.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #0284c7;
}

.step-content {
    padding: 20px 24px;
    background: #ffffff;
}

.step-tab-panel {
    display: none;
    opacity: 0;
}

.step-tab-panel.active {
    display: block;
    animation: simSlideUpFade 0.35s ease-out forwards;
}

@keyframes simSlideUpFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fancy-section-title {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0d2b45;
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.fancy-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #0284c7;
    border-radius: 4px;
    margin-right: 8px;
}

/* ── Fancybox Modal Window & Iframe Enhancements ──────────────────────── */
.fancybox-custom.fancybox-container .fancybox-slide--iframe {
    padding: 30px 15px;
}

.fancybox-custom.fancybox-container .fancybox-slide--iframe .fancybox-content {
    background: transparent !important;
    border-radius: 12px !important;
    box-shadow: none !important;
}

.fancybox-custom.fancybox-container .fancybox-iframe {
    background: transparent !important;
    border-radius: 12px !important;
}

.fancy-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    outline: none;
    color: #ffffff;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    padding: 0;
    line-height: 1;
    font-size: 15px;
    flex-shrink: 0;
}

.fancy-close-btn:hover {
    background: rgba(255, 255, 255, 0.38);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: scale(1.05);
}

.fancy-close-btn:active {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(0.95);
}

.fancy-close-btn i {
    color: inherit;
    font-size: 15px;
    line-height: 1;
}

/* ── Sensitive Data Masking & Unmasking ──────────────────────────────── */
.masked-data {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    letter-spacing: 2px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.unmasked-data {
    font-family: inherit;
    color: #10b981;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 8px;
    border-radius: 6px;
    animation: simPulseSuccess 0.4s ease;
    display: inline-block;
}

@keyframes simPulseSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.btn-unmask-global {
    border-radius: 6px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.25s ease;
}

.property-cat-title {
    font-size: 14px;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 6px;
}

.table-berkas th,
.table-berkas td {
    border: 1px solid #e2e8f0;
    vertical-align: middle;
}

/* ── Document Preview Viewer Styles ─────────────────────────────────── */
.viewer-wrapper {
    background: #f1f5f9;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    position: relative;
}

.notice-bar {
    background: #fff8e1;
    border-top: 1px solid #ffe082;
    padding: 8px 16px;
    font-size: 13px;
    color: #795548;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-shrink: 0;
}

.doc-viewer {
    flex: 1;
    overflow: hidden;
    background: #e8ecf0;
}

.doc-viewer-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.doc-viewer .img-viewer {
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
}

.doc-viewer .img-viewer img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.doc-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 24px;
    text-align: center;
    color: #dc3545;
}

.doc-preview-modal-wrapper {
    height: 100vh;
    overflow: hidden;
}

.doc-preview-header {
    flex-shrink: 0;
    border-bottom: 0 !important;
}

.header-divider-v {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.4);
    margin-left: 4px;
}

/* ── Cek Status Table & Progress Bar Utilities ──────────────────────── */
.sim-progress-wrap {
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.sim-progress-box {
    height: 13px;
    background-color: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 3px;
}

.sim-progress-box .progress-bar {
    height: 100%;
    background-color: #64748b;
    transition: width 0.4s ease;
}

.sim-progress-box .progress-bar.bg-danger {
    background-color: #ef4444 !important;
}

.sim-progress-box .progress-bar.bg-success {
    background-color: #10b981 !important;
}

.sim-progress-box .progress-bar.bg-warning {
    background-color: #f59e0b !important;
}

.sim-status-btn {
    background-color: #475569;
    color: #ffffff !important;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-block;
    text-align: center;
    line-height: 1.2;
    border: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.sim-status-btn.bg-success {
    background-color: #059669 !important;
}

.sim-status-btn.bg-danger {
    background-color: #dc2626 !important;
}

.sim-status-btn.bg-warning {
    background-color: #d97706 !important;
    color: #ffffff !important;
}

.sim-status-btn.bg-info {
    background-color: #0284c7 !important;
}

.sim-status-link {
    color: #0284c7;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: color 0.15s ease;
}

.sim-status-link:hover {
    color: #0369a1;
    text-decoration: underline;
}

.sim-sop-text {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.sim-jenis-text {
    font-size: 11px;
    color: #64748b;
    line-height: 1.3;
}

.sim-status-note {
    font-size: 11px;
    border-radius: 6px;
    padding: 4px 8px;
    margin-top: 4px;
    display: inline-block;
}

.sim-action-btn-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sim-action-btn-icon:hover {
    background-color: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

table.dataTable > thead > tr > th.sorting,
table.dataTable > thead > tr > th.sorting_asc,
table.dataTable > thead > tr > th.sorting_desc,
table.dataTable > thead > tr > td.sorting,
table.dataTable > thead > tr > td.sorting_asc,
table.dataTable > thead > tr > td.sorting_desc {
    padding-right: 30px !important;
    position: relative;
    cursor: pointer;
}

table.dataTable > thead > tr > th.sorting::before,
table.dataTable > thead > tr > th.sorting::after,
table.dataTable > thead > tr > th.sorting_asc::before,
table.dataTable > thead > tr > th.sorting_asc::after,
table.dataTable > thead > tr > th.sorting_desc::before,
table.dataTable > thead > tr > th.sorting_desc::after {
    right: 10px !important;
}





/* ==========================================================================
   FILE MANAGER (FM) — SIMPONIE v2
   Komponen: Dropzone, Grid/List, Badge, Dialog Picker, Progress Bar
   ========================================================================== */

/* ── Info Bar ──────────────────────────────────────────────────────────── */
/* ── FILE MANAGER (BERKAS UNGGAHAN) COMPONENT ────────────────────────── */
.rfm-container-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    padding: 24px;
}

.rfm-header-title {
    font-size: 20px !important;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

/* ── Top Toolbar ──────────────────────────────────────────────────────── */
.rfm-top-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-bottom: 12px;
}

.rfm-view-toggles .btn {
    padding: 6px 10px;
    font-size: 13px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    transition: all .15s ease;
}
.rfm-view-toggles .btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.rfm-view-toggles .btn.active {
    background: #1e293b;
    color: #ffffff;
    border-color: #1e293b;
}

.rfm-filter-bar {
    display: flex;
    align-items: center;
    gap: 4px;
}
.rfm-filter-btn {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    width: 32px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
    padding: 0;
}
.rfm-filter-btn:hover {
    background: #f1f5f9;
    color: #0284c7;
    border-color: #94a3b8;
}
.rfm-filter-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.rfm-search-wrap {
    width: 190px;
}

.btn-reset-filter {
    background: #1e293b;
    border-color: #1e293b;
    color: #ffffff;
    transition: all .15s ease;
}
.btn-reset-filter:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

/* ── Sub-toolbar / Breadcrumb Bar ─────────────────────────────────────── */
.rfm-sub-bar {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #475569;
    margin-bottom: 16px;
}

.rfm-sub-actions .btn-link {
    color: #475569;
    text-decoration: none;
    padding: 2px 6px;
    font-size: 14px;
}
.rfm-sub-actions .btn-link:hover {
    color: #0284c7;
}

/* ── RFM File Grid (Klasik Hijau/Modern) ───────────────────────────────── */
.rfm-file-board {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.rfm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}

.rfm-card {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform .15s, box-shadow .15s, border-color .15s;
    position: relative;
    cursor: pointer;
}
.rfm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.10);
    border-color: #0284c7;
}

/* Pita Ekstensi Atas */
.rfm-card-badge {
    background: #70a73d;
    color: #ffffff;
    font-size: 11px !important;
    font-weight: 700;
    text-align: center;
    padding: 3px 6px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.rfm-card-badge--pdf   { background: #dc2626; }
.rfm-card-badge--jpg,
.rfm-card-badge--jpeg,
.rfm-card-badge--png   { background: #70a73d; }
.rfm-card-badge--dwg   { background: #7c3aed; }

/* Area Thumbnail Gambar / Icon */
.rfm-card-thumb {
    background: #70a73d;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.rfm-card-thumb--pdf { background: #fee2e2; }
.rfm-card-thumb--dwg { background: #ede9fe; }
.rfm-card-thumb--file { background: #f1f5f9; }

.rfm-card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.rfm-card-icon {
    font-size: 42px;
    color: #ffffff;
    opacity: 0.95;
}
.rfm-card-thumb--pdf .rfm-card-icon { color: #dc2626; }
.rfm-card-thumb--dwg .rfm-card-icon { color: #7c3aed; }

/* Nama Berkas & Action Bar Bawah */
.rfm-card-footer {
    background: #ffffff;
    padding: 6px 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}
.rfm-card-name {
    font-size: 11px !important;
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    flex-grow: 1;
    text-align: left;
}
.rfm-card-edit-btn {
    background: none;
    border: none;
    padding: 0 2px;
    color: #94a3b8;
    font-size: 11px;
    cursor: pointer;
    transition: color .15s;
    flex-shrink: 0;
}
.rfm-card-edit-btn:hover {
    color: #0284c7;
}

/* Hover Menu Aksi Cepat pada Card */
.rfm-card-hover-actions {
    position: absolute;
    top: 26px;
    right: 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    opacity: 0;
    transition: opacity .15s ease;
    z-index: 5;
}
.rfm-card:hover .rfm-card-hover-actions {
    opacity: 1;
}
.rfm-quick-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b;
    text-decoration: none;
    transition: all .1s;
}
.rfm-quick-btn:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}
.rfm-quick-btn:hover i {
    color: #ffffff !important;
}
.rfm-quick-btn.text-danger:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
}
.rfm-quick-btn.text-danger:hover i {
    color: #ffffff !important;
}
.rfm-quick-btn.text-success:hover {
    background: #16a34a !important;
    color: #ffffff !important;
    border-color: #16a34a !important;
}
.rfm-quick-btn.text-success:hover i {
    color: #ffffff !important;
}

/* ── Sidebar Tips & Red Box ───────────────────────────────────────────── */
.rfm-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 24px;
}
.rfm-tips-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}
.rfm-tips-title {
    font-size: 15px !important;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}
.rfm-tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 14px;
    line-height: 1.5;
}
.rfm-tips-list strong {
    color: #0f172a;
}

/* ── RFM Pagination Bar ───────────────────────────────────────────────── */
.rfm-pagination-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}
.rfm-page-info {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}
.rfm-page-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.rfm-page-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #475569;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s ease;
    text-decoration: none;
}
.rfm-page-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #0f172a;
}
.rfm-page-btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    cursor: default;
}
.rfm-page-btn:disabled,
.rfm-page-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #f8fafc;
}

.rfm-danger-box {
    background: #b91c1c;
    color: #ffffff;
    border-radius: 10px;
    padding: 18px 20px;
    font-size: 13px;
    line-height: 1.55;
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.20);
}

/* ── Drag & Drop Dropzone ──────────────────────────────────────────────── */
.fm-dropzone {
    border: 2px dashed #93c5fd;
    border-radius: 10px;
    background: #f8fafc;
    padding: 18px 16px;
    text-align: center;
    transition: border-color .2s, background .2s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.fm-dropzone--active,
.fm-dropzone:hover {
    border-color: #0284c7;
    background: #f0f9ff;
}
.fm-dropzone-icon {
    font-size: 28px;
    color: #0284c7;
    display: block;
    margin-bottom: 4px;
}
.fm-dropzone-text {
    font-size: 13px;
    color: #1e293b;
    margin-bottom: 2px;
}
.fm-dropzone-btn {
    background: none;
    border: none;
    color: #0284c7;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}
.fm-dropzone-hint {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 0;
}

/* ── Progress Bar ──────────────────────────────────────────────────────── */
.fm-progress-wrap {
    padding: 8px 0;
}
.fm-progress-label {
    font-size: 12px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}
.fm-progress-bar-track {
    height: 8px;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}
.fm-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #06b6d4);
    border-radius: 99px;
    transition: width .3s ease;
}

/* ── List / Table View Modes ──────────────────────────────────────────── */
.rfm-view-toggles .btn {
    padding: 4px 9px;
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #64748b;
    font-size: 13px;
    transition: all .15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rfm-view-toggles .btn:hover {
    background: #f1f5f9;
    color: #1e293b;
}
.rfm-view-toggles .btn.active {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

/* ── RFM Card Metadata (Ukuran, Tanggal) ───────────────────────────────── */
.rfm-card-meta {
    display: none;
    font-size: 11px;
    color: #64748b;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

/* ── RFM Card Dialog Actions ──────────────────────────────────────────── */
.rfm-card-dialog-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}
.rfm-card-dialog-actions .fm-btn-pick {
    flex-grow: 1;
}

/* ── Shared Card Layout for List & Columns Modes ───────────────────────── */
.rfm-view-list .rfm-card,
.rfm-view-columns .rfm-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 6px 12px;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #ffffff;
    min-height: 46px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: all .15s ease;
}

.rfm-view-list .rfm-card:hover,
.rfm-view-columns .rfm-card:hover {
    transform: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
    border-color: #0284c7;
    background: #f8fafc;
}

.rfm-view-list .rfm-card-badge,
.rfm-view-columns .rfm-card-badge {
    width: 38px;
    padding: 2px 4px;
    font-size: 10px !important;
    border-radius: 4px;
    flex-shrink: 0;
    text-align: center;
}

.rfm-view-list .rfm-card-thumb,
.rfm-view-columns .rfm-card-thumb {
    width: 32px;
    height: 32px;
    aspect-ratio: auto;
    border-radius: 4px;
    flex-shrink: 0;
    overflow: hidden;
}

.rfm-view-list .rfm-card-thumb .rfm-card-icon,
.rfm-view-columns .rfm-card-thumb .rfm-card-icon {
    font-size: 16px;
}

.rfm-view-list .rfm-card-footer,
.rfm-view-columns .rfm-card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1px;
    border: none;
    padding: 0;
    background: transparent;
    flex-grow: 1;
    min-width: 0;
    overflow: hidden;
}

.rfm-view-list .rfm-card-name,
.rfm-view-columns .rfm-card-name {
    font-size: 12px !important;
    font-weight: 600;
    color: #1e293b;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}

.rfm-view-list .rfm-card-meta,
.rfm-view-columns .rfm-card-meta {
    display: flex;
    font-size: 10px !important;
    color: #64748b;
}

.rfm-view-list .rfm-card-edit-btn,
.rfm-view-columns .rfm-card-edit-btn {
    display: none;
}

.rfm-view-list .rfm-card-hover-actions,
.rfm-view-columns .rfm-card-hover-actions {
    position: static;
    opacity: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    flex-shrink: 0;
}

.rfm-view-list .rfm-card-hover-actions .rfm-quick-btn,
.rfm-view-columns .rfm-card-hover-actions .rfm-quick-btn {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    font-size: 11px;
}

.rfm-view-list .rfm-card-dialog-actions,
.rfm-view-columns .rfm-card-dialog-actions {
    border: none;
    padding: 0;
    background: transparent;
    margin-left: auto;
    flex-shrink: 0;
    gap: 4px;
}

/* 1-Column List Mode */
.rfm-view-list .rfm-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 2-Columns List Mode */
.rfm-view-columns .rfm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 680px) {
    .rfm-view-columns .rfm-grid {
        grid-template-columns: 1fr;
    }
}

/* ── POPUP DIALOG PICKER ──────────────────────────────────────────────── */
.fm-dialog-layout {
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    overflow: hidden;
}
.fm-dialog-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    gap: 12px;
}
.fm-dialog-infobar {
    background: #f0f9ff;
    border-bottom: 1px solid #e0f2fe;
    padding: 8px 20px;
    font-size: 12px !important;
    color: #0369a1;
    flex-shrink: 0;
}
.fm-dialog-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
}
.fm-dialog-progress {
    padding: 10px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}
.fm-dialog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
}
.fm-dialog-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    cursor: pointer;
    transition: all .15s ease;
    user-select: none;
}
.fm-dialog-item:hover {
    border-color: #0284c7;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
    transform: translateY(-2px);
}
.fm-dialog-item.selected {
    border-color: #16a34a;
    background: #f0fdf4;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.20);
}
.fm-dialog-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.fm-dialog-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fm-dialog-thumb-icon {
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.fm-dialog-item-info {
    min-width: 0;
}
.fm-dialog-item-name {
    font-size: 11px !important;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
.fm-dialog-item-meta {
    font-size: 10px !important;
    color: #64748b;
    margin-bottom: 0;
}
.fm-dialog-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 220px;
    text-align: center;
}

/* ── Syarat Table Upload Berkas (Daftar Form Step 5) ──────────────────── */
.dft-syarat-upload-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.dft-file-input {
    max-width: 200px;
}
.th-syarat-upload {
    min-width: 280px;
}
.dft-syarat-selected {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #d1fae5;
    border: 1px solid #6ee7b7;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 11px !important;
    color: #065f46;
    font-weight: 600;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dft-syarat-selected .dft-syarat-clear {
    background: none;
    border: none;
    color: #dc2626;
    cursor: pointer;
    padding: 0;
    font-size: 13px;
    flex-shrink: 0;
}

.fm-dialog-search-wrap {
    width: 190px;
}

/* ── File Manager Dialog Loading Indicator ────────────────────────────── */
.fm-dialog-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.fm-dialog-loader-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.fm-dialog-loader-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid #e2e8f0;
    border-top-color: #0284c7;
    border-right-color: #0284c7;
    border-radius: 50%;
    animation: simSpin 0.75s linear infinite;
}

.fm-dialog-loader-text {
    font-size: 13px !important;
    font-weight: 700;
    color: #0d2b45;
    margin-top: 14px;
    margin-bottom: 2px;
}

.fm-dialog-loader-sub {
    font-size: 11px !important;
    color: #64748b;
    margin: 0;
}

/* ── File Manager Dialog Picker Compact Grid & Views ───────────────────── */
.rfm-dialog-meta-strip {
    flex-shrink: 0;
    min-height: 28px;
    background-color: #ffffff;
}

.rfm-dialog-meta-strip .rfm-page-info {
    font-size: 11px !important;
    color: #64748b;
    font-weight: 500;
}

.rfm-dialog-meta-strip .rfm-page-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rfm-dialog-meta-strip .rfm-page-btn {
    min-width: 22px;
    height: 22px;
    padding: 0 4px;
    font-size: 10px !important;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #475569;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.rfm-dialog-meta-strip .rfm-page-btn.active {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

#fmDialogBoard:not(.rfm-view-list):not(.rfm-view-columns) .rfm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 10px;
}

#fmDialogBoard .rfm-card {
    border-radius: 6px;
}

#fmDialogBoard .rfm-card-badge {
    font-size: 9px !important;
    padding: 2px 4px;
    letter-spacing: 0.3px;
}

#fmDialogBoard .rfm-card-thumb {
    aspect-ratio: 1.15;
}

#fmDialogBoard .rfm-card-thumb .rfm-card-icon {
    font-size: 26px;
}

#fmDialogBoard .rfm-card-footer {
    padding: 4px 6px;
    gap: 2px;
}

#fmDialogBoard .rfm-card-name {
    font-size: 10.5px !important;
}

#fmDialogBoard .rfm-card-meta {
    font-size: 9px !important;
    gap: 3px;
}

#fmDialogBoard .rfm-card-dialog-actions {
    padding: 4px 6px;
    gap: 4px;
}

#fmDialogBoard .rfm-card-dialog-actions .btn {
    font-size: 10px !important;
    padding: 2px 6px;
}

/* 1-Column List Layout in Dialog */
#fmDialogBoard.rfm-view-list .rfm-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 2-Columns Layout in Dialog */
#fmDialogBoard.rfm-view-columns .rfm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

@media (max-width: 680px) {
    #fmDialogBoard.rfm-view-columns .rfm-grid {
        grid-template-columns: 1fr;
    }
}

#fmDialogBoard.rfm-view-list .rfm-card,
#fmDialogBoard.rfm-view-columns .rfm-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 8px;
    gap: 8px;
    min-height: 42px;
    border-radius: 6px;
}

#fmDialogBoard.rfm-view-list .rfm-card-badge,
#fmDialogBoard.rfm-view-columns .rfm-card-badge {
    width: 34px;
    padding: 2px 3px;
    font-size: 9px !important;
}

#fmDialogBoard.rfm-view-list .rfm-card-thumb,
#fmDialogBoard.rfm-view-columns .rfm-card-thumb {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
}

#fmDialogBoard.rfm-view-list .rfm-card-thumb .rfm-card-icon,
#fmDialogBoard.rfm-view-columns .rfm-card-thumb .rfm-card-icon {
    font-size: 14px;
}

#fmDialogBoard.rfm-view-list .rfm-card-footer,
#fmDialogBoard.rfm-view-columns .rfm-card-footer {
    padding: 0;
    gap: 0;
    flex-grow: 1;
    min-width: 0;
}

#fmDialogBoard.rfm-view-list .rfm-card-name,
#fmDialogBoard.rfm-view-columns .rfm-card-name {
    font-size: 11.5px !important;
    font-weight: 600;
}

#fmDialogBoard.rfm-view-list .rfm-card-meta,
#fmDialogBoard.rfm-view-columns .rfm-card-meta {
    font-size: 9.5px !important;
}

#fmDialogBoard.rfm-view-list .rfm-card-dialog-actions,
#fmDialogBoard.rfm-view-columns .rfm-card-dialog-actions {
    margin-left: auto;
    padding: 0;
    gap: 4px;
    flex-shrink: 0;
}

/* Hidden Print Iframe & Print Media Utility */
.print-iframe-hidden {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 1px;
    height: 1px;
    border: none;
    opacity: 0;
    pointer-events: none;
}

@media print {
    .no-print {
        display: none !important;
    }
}

/* ── Sidebar List Perizinan (Reusable Component) ── */
.sidebar-scroll-list {
    max-height: 560px;
    overflow-y: auto;
}

.sidebar-scroll-list::-webkit-scrollbar {
    width: 5px;
}

.sidebar-scroll-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.sidebar-scroll-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.sidebar-scroll-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.search-izin-group .btn-clear-search {
    background-color: transparent;
    border-color: #dee2e6;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.search-izin-group .btn-clear-search:hover {
    background-color: #f8fafc;
    color: #ef4444;
}

.search-izin-group #searchingIzin {
    border-top-right-radius: 0.375rem !important;
    border-bottom-right-radius: 0.375rem !important;
}

.search-izin-group.has-query #searchingIzin {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right-color: transparent;
}

.izin-nav-item {
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.izin-nav-item.active {
    background-color: var(--primary-color, #0d3859) !important;
    border-color: var(--primary-color, #0d3859) !important;
}

.izin-nav-item.active .izin-item-initial,
.izin-nav-item.active .izin-item-icon {
    color: #ffffff !important;
}

.izin-nav-item.active .izin-item-title {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ==========================================================================
   DASHBOARD PORTAL (mysimponie-v2)
   Hero Section, RDTR Map, Tracking Widget, Modal Info, & Layanan Perizinan
   ========================================================================== */

/* Remove default app-main top & bottom padding on dashboard */
.app-main:has(.dash-hero-section) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.dash-main-section .panel-card,
.dash-main-section .widget-box {
    margin-bottom: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
}

.dash-main-section .izin-card {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dash-main-section .izin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.dash-main-section .izin-initial-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    max-width: 48px;
    padding: 0 4px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-align: center;
    background-color: #0d3859;
    color: #ffffff !important;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 1px 2px rgba(13, 56, 89, 0.12);
}

.dash-main-section .izin-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    min-height: 38px;
    max-height: 38px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.dash-izin-scroll-container {
    flex: 1 1 auto;
    height: 0;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 12px;
    padding-top: 2px;
    padding-bottom: 2px;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

@media (max-width: 991.98px) {
    .dash-izin-scroll-container {
        height: auto;
        min-height: auto;
        max-height: 520px;
    }
}

.dash-izin-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.dash-izin-scroll-container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}

.dash-izin-scroll-container::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.dash-izin-scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: #94a3b8;
}

.service-tile-desc,
.process-step-desc {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.55;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.cal-nav-btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s ease;
}

.cal-nav-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.cal-table {
    width: 100%;
    table-layout: fixed;
    text-align: center;
    border-collapse: collapse;
}

.cal-table th {
    padding: 4px 0 6px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.cal-table th.cal-th-sun {
    color: #ef4444;
}

.cal-table td {
    padding: 3px 0;
    vertical-align: middle;
}

.cal-day-cell {
    width: 32px;
    height: 32px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
    color: #1e293b;
    cursor: default;
    transition: all 0.15s ease;
}

.cal-day-cell.is-today {
    background: #114972;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(17, 73, 114, 0.18);
}

.cal-day-cell.is-weekend {
    color: #ef4444;
}

.cal-day-cell.is-holiday {
    color: #dc2626 !important;
    font-weight: 700;
    background-color: #fee2e2;
    cursor: pointer;
    position: relative;
}

.cal-day-cell.is-holiday::after {
    content: '';
    position: absolute;
    bottom: 3px;
    width: 4px;
    height: 4px;
    background-color: #dc2626;
    border-radius: 50%;
}

.cal-day-cell.is-holiday.is-today::after {
    background-color: #ffffff;
}

.cal-day-cell.is-holiday:hover {
    background-color: #fecaca !important;
    transform: scale(1.08);
}

.cal-day-cell.is-holiday.is-today {
    background: #b91c1c !important;
    color: #ffffff !important;
    box-shadow: 0 1px 3px rgba(185, 28, 28, 0.2);
}

.cal-day-cell.is-other-month {
    color: #cbd5e1;
    opacity: 0.5;
}

.cal-day-cell:hover:not(.is-today):not(.is-other-month) {
    background: #f1f5f9;
}

.cal-holiday-notice {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 11px;
    color: #9b2c2c;
    line-height: 1.4;
}

/* ── Widget RDTR Interaktif Styles ─────────────────────────── */
#dashMapRdtr {
    width: 100%;
    height: 420px;
    border-radius: 14px;
    z-index: 1;
}

.dash-map-wrapper {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    background: #f8fafc;
}

/* Floating Controls on Map */
.dash-map-controls-top {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    pointer-events: auto;
}

.dash-map-layer-switch {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    padding: 3px;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.dash-layer-divider {
    width: 1px;
    height: 18px;
    background: #cbd5e1;
    margin: 0 3px;
}

.dash-layer-btn {
    border: none;
    background: transparent;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    padding: 5px 10px;
    border-radius: 7px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash-layer-btn:hover {
    color: #114972;
    background: #f1f5f9;
}

.dash-layer-btn.active {
    background: #114972;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(17, 73, 114, 0.15);
}

.dash-layer-btn--rdtr.active {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 1px 2px rgba(2, 132, 199, 0.18) !important;
}

.dash-rdtr-badge {
    font-size: 9.5px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
}

.dash-layer-btn--rdtr.active .dash-rdtr-badge {
    background: #ffffff;
    color: #0284c7;
}

/* Opacity Control Slider */
.dash-layer-opacity-box {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: #f8fafc;
    border-radius: 7px;
    border: 1px solid #e2e8f0;
}

.dash-range-slider {
    width: 70px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #cbd5e1;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.dash-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0284c7;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s ease;
}

.dash-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

/* Floating RDTR Legend Panel */
.dash-map-legend-panel {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 15;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 12px;
    padding: 12px 14px;
    box-shadow: 0 4px 16px rgba(17, 73, 114, 0.07);
    max-width: 360px;
    width: calc(100% - 28px);
    pointer-events: auto;
    animation: fadeIn 0.25s ease;
}

.dash-map-legend-panel .legend-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}

.dash-map-legend-panel .legend-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

.dash-map-legend-panel .legend-search-box {
    position: relative;
    margin-bottom: 8px;
}

.dash-map-legend-panel .legend-search-box input {
    width: 100%;
    font-size: 11px;
    padding: 4px 8px 4px 24px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    outline: none;
}

.dash-map-legend-panel .legend-search-box i {
    position: absolute;
    left: 7px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 11px;
}

.dash-map-legend-panel .legend-close {
    background: transparent;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 4px;
}

.dash-map-legend-panel .legend-close:hover {
    color: #ef4444;
}

.dash-map-legend-panel .legend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 8px;
    max-height: 190px;
    overflow-y: auto;
    padding-right: 4px;
}

.dash-map-legend-panel .legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    color: #334155;
    font-weight: 500;
    line-height: 1.25;
    padding: 2px 0;
}

.dash-map-legend-panel .legend-item-code {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: auto;
}

.dash-map-legend-panel .legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.dash-map-legend-panel .legend-footer {
    font-size: 10px;
    color: #94a3b8;
    border-top: 1px solid #f1f5f9;
    padding-top: 6px;
    margin-top: 8px;
    text-align: center;
}

/* RDTR Custom Popup */
.leaflet-popup.rdtr-custom-popup .leaflet-popup-content-wrapper {
    padding: 0 !important;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05);
    border: none !important;
}

.leaflet-popup.rdtr-custom-popup .leaflet-popup-content {
    margin: 0 !important;
    width: 270px !important;
    font-family: inherit;
    line-height: 1.4;
}

.leaflet-popup.rdtr-custom-popup .leaflet-popup-close-button {
    top: 8px !important;
    right: 8px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 16px !important;
    width: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2) !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    z-index: 10;
}

.leaflet-popup.rdtr-custom-popup .leaflet-popup-close-button:hover {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.45) !important;
}

.rdtr-popup-card {
    display: flex;
    flex-direction: column;
}

.rdtr-popup-header {
    padding: 10px 32px 10px 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.rdtr-popup-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: 0.5px;
    color: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.rdtr-popup-zona {
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff;
}

.rdtr-popup-body {
    padding: 8px 14px 10px !important;
    background: #ffffff;
    font-size: 12px;
}

.rdtr-popup-table {
    width: 100%;
    margin: 0 !important;
    border-collapse: collapse;
}

.rdtr-popup-table tr td,
.rdtr-popup-table tr th {
    padding: 3px 0 !important;
    vertical-align: top;
    font-size: 11.5px;
    line-height: 1.4;
    border: none !important;
    background: transparent !important;
}

.rdtr-popup-table tr:first-child td,
.rdtr-popup-table tr:first-child th {
    padding-top: 0 !important;
}

.rdtr-popup-table .rdtr-table-th {
    color: #64748b;
    font-weight: 600;
    width: 52px;
    white-space: nowrap;
}

.rdtr-popup-table .rdtr-table-colon {
    color: #94a3b8;
    width: 12px;
    text-align: center;
    font-weight: 500;
}

.rdtr-popup-table .rdtr-table-td {
    color: #0f172a;
    font-weight: 600;
    word-break: break-word;
}

.rdtr-popup-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    gap: 8px;
}

.rdtr-popup-row .rdtr-label {
    color: #64748b;
    font-weight: 500;
    flex-shrink: 0;
}

.rdtr-popup-row .rdtr-val {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.dash-map-zoom-tools {
    display: flex;
    flex-direction: column;
    width: 36px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.dash-tool-opacity {
    width: 36px;
    padding: 4px;
    border-top: 1px solid #e2e8f0;
    background: rgba(248, 250, 252, 0.96);
}

.dash-tool-opacity .dash-layer-opacity-box {
    width: 100%;
    min-height: 78px;
    padding: 5px 3px;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.dash-tool-opacity .dash-range-slider {
    width: 4px;
    height: 58px;
    margin: 0;
    transform: none;
    writing-mode: vertical-lr;
    direction: rtl;
}

.dash-tool-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 15px;
    padding: 0;
    line-height: 1;
}

.dash-tool-btn:hover {
    background: #e2e8f0;
    color: #114972;
}

.dash-tool-btn:not(:last-child) {
    border-bottom: 1px solid #e2e8f0;
}

/* User GPS Location Marker Pulse */
.dash-gps-user-marker {
    width: 24px;
    height: 24px;
    position: relative;
}

.dash-gps-user-dot {
    width: 14px;
    height: 14px;
    background: #0284c7;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 2;
}

.dash-gps-user-pulse {
    width: 34px;
    height: 34px;
    background: rgba(2, 132, 199, 0.35);
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: -5px;
    animation: gpsPulseAnim 1.8s infinite ease-out;
    z-index: 1;
}

@keyframes gpsPulseAnim {
    0% {
        transform: scale(0.4);
        opacity: 1;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.dash-map-wrapper {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.dash-map-wrapper.dash-map-focused {
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.5) !important;
}

/* ── Fullscreen Map Mode ─────────────────────────── */
.dash-map-wrapper.fullscreen-mode {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff;
}

.dash-map-wrapper.fullscreen-mode #dashMapRdtr {
    height: 100% !important;
    min-height: 100vh !important;
    border-radius: 0 !important;
}

.dash-tool-btn.active {
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* Leaflet popup styling custom for Dashboard Map */
/* Note: rdtr-custom-popup overrides below; these apply only to non-RDTR popups */
#dashMapRdtr .leaflet-popup-content-wrapper {
    border-radius: 12px !important;
    padding: 0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08) !important;
    border: 1px solid #e2e8f0;
}

#dashMapRdtr .leaflet-popup-content {
    margin: 0 !important;
    font-family: inherit !important;
}

/* ── Widget Tracking Type Button Tabs & Captcha ───────────────────────── */
.cursor-pointer {
    cursor: pointer;
}

.tracking-type-btn {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 10px;
    transition: all 0.22s ease;
    user-select: none;
    outline: none !important;
    box-shadow: none;
}

.tracking-type-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.tracking-type-btn.is-selected {
    background: #eff6ff;
    border-color: #0284c7;
    color: #0284c7;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
}

.tracking-type-btn.is-selected i {
    transform: scale(1.1);
}

.captcha-img-box {
    border-color: #e2e8f0;
    background: #fafafc;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-img-box img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.captcha-refresh {
    width: 48px;
    height: 48px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #fafafc;
    color: #0d3859;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.captcha-refresh:hover {
    background: #ebf4fc;
    border-color: #0284c7;
    color: #0284c7;
}

.captcha-refresh i {
    display: inline-block;
    transition: transform 0.35s ease;
}

.captcha-refresh:hover i {
    transform: rotate(180deg);
}

/* ── Popup Informasi Dashboard Modal (Clean Image & Carousel View) ─── */
#modalPopupInfo {
    overscroll-behavior: none !important;
    overscroll-behavior-x: none !important;
}

#modalPopupInfo .modal-popup-clean {
    max-width: 680px !important;
    width: 92vw !important;
    margin: 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overscroll-behavior: none !important;
}

#modalPopupInfo .modal-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 100%;
    position: relative;
    overscroll-behavior: none !important;
}

.popup-banner-section {
    position: relative;
    width: 100%;
    overscroll-behavior: none !important;
}

.popup-carousel-frame {
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    overscroll-behavior: none !important;
    overscroll-behavior-x: none !important;
    touch-action: pan-y pinch-zoom;
}

.popup-carousel-frame.is-grabbing {
    cursor: grabbing !important;
}

.popup-single-frame {
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.popup-image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.popup-banner-img {
    width: 100%;
    height: auto;
    max-height: 82vh;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 0;
    box-shadow: none !important;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

/* Floating Close Button */
.popup-floating-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 1075;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    border: 2px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
}

.popup-floating-close:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.12) rotate(90deg);
    box-shadow: 0 6px 18px rgba(239, 68, 68, 0.5);
}

@media (max-width: 576px) {
    .popup-floating-close {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        font-size: 12px;
        background: rgba(0, 0, 0, 0.7);
        color: #ffffff;
        border: 1.5px solid rgba(255, 255, 255, 0.6);
    }
}

/* ── Popup Carousel Indicators (Bullet Posisi Slide) ─── */
#popupBannerCarousel .carousel-indicators {
    bottom: 14px;
    margin: 0 auto;
    padding: 4px 10px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    gap: 6px;
    z-index: 20;
}

#popupBannerCarousel .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0;
    padding: 0;
    opacity: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
}

#popupBannerCarousel .carousel-indicators button.active {
    width: 22px;
    height: 8px;
    border-radius: 4px;
    background-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.7);
}

/* ── Carousel Nav Buttons: Hidden/Blurred by Default, Muncul Saat Hover ─── */
.popup-carousel-btn {
    width: 44px;
    height: 44px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 25;
}

.popup-carousel-btn--prev {
    left: 0;
    transform: translateY(-50%) translateX(-8px);
}

.popup-carousel-btn--next {
    right: 0;
    transform: translateY(-50%) translateX(8px);
}

.popup-banner-section:hover .popup-carousel-btn,
.popup-carousel-frame:hover .popup-carousel-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.popup-carousel-icon {
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}

.popup-carousel-btn:hover .popup-carousel-icon {
    background: rgba(15, 23, 42, 0.95);
    border-color: #38bdf8;
    color: #38bdf8;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

@media (max-width: 576px) {
    .popup-carousel-btn {
        opacity: 0.85;
        pointer-events: auto;
        transform: translateY(-50%) translateX(0);
        margin: 0 4px;
    }
}

/* ─────────────────────────────────────────────────────────
   DASH HERO SECTION — Full Viewport Height Layout
   Total header: navbar 72px + sim-banner ~52px = 124px
   ─────────────────────────────────────────────────────────── */
:root {
    --navbar-h: 72px;
    --banner-h: 52px;
    /* sim-banner: padding 10px*2 + min-height 32px */
    --header-h: 124px;
    /* navbar + banner */
}

.dash-hero-section {
    position: relative;
    height: 100vh;
    min-height: 580px;
    max-height: 100vh;
    margin-top: calc(-1 * var(--header-h));
    /* Naik melewati navbar + banner */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #0d3859;
    background: linear-gradient(135deg, #0d3859 0%, #0a2d48 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

/* Ambient glow overlay (dekorasi) */
.dash-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(56, 189, 248, 0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 15% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* dash-container di dalam hero: flex column mengisi 100% tinggi viewport dengan gap konsisten antar widget */
.dash-hero-section > .dash-container {
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 14px;
    padding-top: calc(var(--header-h) + 10px);
    padding-bottom: 14px;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.dash-hero-section.has-event-banner > .dash-container {
    gap: 14px;
    padding-top: calc(var(--header-h) + 8px);
    padding-bottom: 14px;
}

.dash-hero-section.no-event-banner > .dash-container {
    gap: 14px;
    padding-top: calc(var(--header-h) + 12px);
    padding-bottom: 14px;
}

/* ── Hero Interactive Row: Slider lebih tinggi saat ada banner, membesar penuh saat tidak ada banner ─── */
@media (min-width: 992px) {
    .has-event-banner .hero-interactive-row {
        flex: 0 0 auto !important;
        height: clamp(100px, 13vh, 140px) !important;
        min-height: clamp(100px, 13vh, 140px) !important;
        max-height: clamp(100px, 13vh, 140px) !important;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .no-event-banner .hero-interactive-row {
        flex: 1 1 0% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .hero-col-slider {
        height: 100% !important;
        min-height: 0 !important;
        display: flex;
        flex-direction: column;
        padding: 0 !important;
    }

    .hero-carousel-wrapper {
        flex: 1 1 0% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    .dash-hero-carousel,
    .dash-hero-carousel .carousel-inner,
    .dash-hero-carousel .carousel-item,
    .dash-hero-section .dash-slider-item,
    .dash-hero-carousel .dash-slider-img {
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
    }

    /* Banner: Mengambil porsi dominan, gambar nge-fit penuh ke body/container tanpa terpotong atau stuck di ukuran layar 13 inch */
    .dash-event-banner-wrapper {
        width: 100% !important;
        flex: 3 1 0% !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .dash-event-banner-item {
        height: 100% !important;
        width: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: transparent !important;
        overflow: hidden;
    }

    .dash-event-banner-img {
        width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
    }

    /* Komitmen: Ukuran alami dari konten (bukan flex grow) + lebih lega & renggang */
    .hero-service-card-compact {
        flex: 0 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 22px 26px 24px !important;
        overflow: hidden;
    }

    .hero-service-card-compact .panel-badge {
        margin-bottom: 5px !important;
    }

    .hero-service-card-compact .hero-service-card-header {
        margin-bottom: 16px !important;
    }

    /* Row service tiles mengisi sisa tinggi card dengan gap yang proporsional */
    .hero-service-card-compact > .row {
        flex: 1 1 0% !important;
        align-items: stretch !important;
        min-height: 0;
        --bs-gutter-x: 18px !important;
        --bs-gutter-y: 16px !important;
    }

    /* Service tile mengisi tinggi kolom secara vertikal dengan padding dalam yang seimbang */
    .hero-service-card-compact .service-tile {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 18px 20px !important;
    }
}

.hero-carousel-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.20),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.10);
    transition: box-shadow 0.3s ease;
}

.hero-carousel-wrapper:hover {
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.26),
        0 0 0 1px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ── Hero Carousel — isi penuh wrapper ─── */
.dash-hero-carousel {
    height: 100%;
    border-radius: 0;
    /* Border-radius sudah di wrapper */
}

/* Bootstrap carousel-inner & item: hanya override height, JANGAN ubah display */
.dash-hero-carousel .carousel-inner {
    height: 100%;
}

.dash-hero-carousel .carousel-item {
    height: 100%;
}

.dash-hero-carousel .dash-slider-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Slider item wrapper (a atau div) */
.dash-hero-section .dash-slider-item {
    display: block;
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Caption styling — tersembunyi saat tidak aktif, muncul saat hover */
.dash-slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 25, 47, 0.90) 0%, rgba(10, 25, 47, 0.55) 65%, transparent 100%);
    text-align: left;
    padding: 10px 18px 12px;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-wrapper:hover .dash-slider-caption,
.hero-carousel-wrapper:focus-within .dash-slider-caption {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dash-slider-caption a,
.dash-slider-caption button {
    pointer-events: auto;
}

.dash-slider-title {
    font-size: clamp(13px, 1.25vw, 17px);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
    max-width: 82%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-slider-title-link {
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.dash-slider-title-link:hover {
    color: #38bdf8 !important;
    text-decoration: underline !important;
}

.dash-slider-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(10px, 0.85vw, 12px);
    line-height: 1.3;
    max-width: 80%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    margin-top: 2px;
}

/* Carousel indicators — posisikan di tengah-tengah bawah dalam kapsul glassmorphism, auto-hide saat idle */
.dash-hero-carousel .carousel-indicators {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    right: auto;
    margin: 0;
    padding: 3px 8px;
    background: rgba(10, 25, 47, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-carousel-wrapper:hover .carousel-indicators,
.hero-carousel-wrapper:focus-within .carousel-indicators {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dash-hero-carousel .carousel-indicators [data-bs-target] {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    margin: 0;
    padding: 0;
    opacity: 0.5;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.dash-hero-carousel .carousel-indicators .active {
    width: 16px;
    height: 6px;
    border-radius: 3px;
    opacity: 1;
    background-color: #38bdf8;
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
}

/* Carousel arrow controls — auto-hide saat idle, auto-show saat hover */
.dash-hero-carousel .carousel-control-prev,
.dash-hero-carousel .carousel-control-next {
    width: 32px;
    height: 32px;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    background: rgba(10, 25, 47, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
    z-index: 25;
}

.dash-hero-carousel .carousel-control-prev {
    left: 10px;
    transform: translateY(-50%) translateX(-6px);
}

.dash-hero-carousel .carousel-control-next {
    right: 10px;
    transform: translateY(-50%) translateX(6px);
}

.hero-carousel-wrapper:hover .carousel-control-prev,
.hero-carousel-wrapper:hover .carousel-control-next {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.dash-hero-carousel .carousel-control-prev:hover,
.dash-hero-carousel .carousel-control-next:hover {
    background: rgba(14, 116, 144, 0.9);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.08) !important;
}

.dash-hero-carousel .carousel-control-prev-icon,
.dash-hero-carousel .carousel-control-next-icon {
    width: 14px;
    height: 14px;
}

/* ── Komitmen Pelayanan Card (Solid White) ─── */
.hero-service-card {
    background: #ffffff !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 12px !important;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.hero-service-card .hero-service-card-header {
    margin-bottom: 16px;
}

.hero-service-card .panel-badge {
    font-size: 12px;
    margin-bottom: 6px;
}

.hero-service-card .panel-title {
    color: #0f172a !important;
    text-shadow: none;
    line-height: 1.35;
}

/* Service tiles — solid light style */
.hero-service-card .service-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 18px 20px;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-service-card .service-tile:hover {
    background: #eff6ff;
    border-color: #7dd3fc;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(17, 73, 114, 0.10);
}

/* Service tile icons — warna asli dari theme */
.hero-service-card .service-tile-icon,
.hero-service-card .widget-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Service tile text */
.hero-service-card .service-tile-title {
    color: #0f172a !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.35;
    margin-bottom: 4px !important;
}

.hero-service-card .service-tile-sub {
    color: #64748b !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    line-height: 1.35;
    margin-bottom: 6px !important;
}

.hero-service-card .service-tile-desc {
    color: #475569 !important;
    font-size: 11.5px !important;
    line-height: 1.5;
    margin: 0 !important;
}

.dash-main-section {
    background-color: #ffffff;
    padding-top: 32px;
    padding-bottom: 32px;
}

@media (max-width: 767.98px) {
    .dash-main-section {
        padding-top: 20px;
        padding-bottom: 24px;
    }
}

@media (max-width: 991.98px) {
    .dash-hero-section {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    .dash-hero-section > .dash-container {
        flex: none;
        height: auto !important;
        padding-top: calc(var(--header-h) + 16px) !important;
        padding-bottom: 32px !important;
        gap: 14px;
    }

    .hero-interactive-row,
    .hero-col-slider {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .hero-carousel-wrapper {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        position: relative !important;
        background: #092640 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    }

    .dash-hero-carousel,
    .dash-hero-carousel .carousel-inner,
    .dash-hero-carousel .carousel-item,
    .dash-hero-section .dash-slider-item {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: block !important;
        position: relative !important;
    }

    .dash-hero-carousel .dash-slider-img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1200 / 380;
        object-fit: cover !important;
        object-position: center center !important;
        display: block !important;
    }

    .dash-event-banner-wrapper {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 0 !important;
    }

    .dash-event-banner-item {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        display: block !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .dash-event-banner-img {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: 1200 / 380;
        object-fit: cover !important;
        display: block !important;
    }

    /* Caption, Title, Subtitle Slider di Layar Tablet & HP */
    .dash-slider-caption {
        padding: 6px 10px 8px !important;
        background: linear-gradient(to top, rgba(10, 25, 47, 0.90) 0%, rgba(10, 25, 47, 0.45) 75%, transparent 100%) !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    .dash-slider-title,
    .dash-slider-title-link {
        font-size: clamp(11.5px, 3.2vw, 13px) !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        max-width: 90% !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .dash-slider-desc {
        font-size: 10px !important;
        line-height: 1.2 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-top: 1px !important;
    }

    /* Kontrol Tombol Next / Previous di Layar Tablet & HP */
    .dash-hero-carousel .carousel-control-prev,
    .dash-hero-carousel .carousel-control-next {
        width: 26px !important;
        height: 26px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 15 !important;
        opacity: 0.9 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(10, 25, 47, 0.72) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 50% !important;
    }

    .dash-hero-carousel .carousel-control-prev {
        left: 6px !important;
    }

    .dash-hero-carousel .carousel-control-next {
        right: 6px !important;
    }

    .dash-hero-carousel .carousel-control-prev-icon,
    .dash-hero-carousel .carousel-control-next-icon {
        width: 11px !important;
        height: 11px !important;
    }

    .dash-hero-carousel .carousel-control-prev:hover,
    .dash-hero-carousel .carousel-control-next:hover,
    .dash-hero-carousel .carousel-control-prev:active,
    .dash-hero-carousel .carousel-control-next:active {
        background: rgba(10, 25, 47, 0.88) !important;
        border-color: rgba(255, 255, 255, 0.5) !important;
        transform: translateY(-50%) !important;
    }

    /* Indikator Slider di Layar Tablet & HP */
    .dash-hero-carousel .carousel-indicators {
        position: absolute !important;
        bottom: 5px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 2px 6px !important;
        gap: 3px !important;
        margin: 0 !important;
        z-index: 15 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .dash-hero-carousel .carousel-indicators [data-bs-target] {
        width: 5px !important;
        height: 4px !important;
        border-radius: 2px !important;
    }

    .dash-hero-carousel .carousel-indicators .active {
        width: 12px !important;
        height: 4px !important;
        border-radius: 2px !important;
    }

    /* Widget Keunggulan & Komitmen Pelayanan di Layar Tablet & HP */
    .hero-service-card-compact {
        flex: none !important;
        margin-top: 0 !important;
        padding: 18px 18px 20px !important;
        border-radius: 12px !important;
    }

    .hero-service-card-compact .hero-service-card-header {
        margin-bottom: 14px !important;
    }

    .hero-service-card .panel-badge {
        font-size: 11.5px !important;
        margin-bottom: 4px !important;
    }

    .hero-service-card .panel-badge i {
        font-size: 13px !important;
    }

    .hero-service-card .panel-title {
        font-size: clamp(16px, 4.2vw, 19px) !important;
        line-height: 1.3 !important;
    }

    .hero-service-card > .row {
        --bs-gutter-x: 14px !important;
        --bs-gutter-y: 12px !important;
        margin-top: 0 !important;
    }

    .hero-service-card .col-sm-6,
    .hero-service-card .col-lg-3 {
        padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
        padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
    }

    .hero-service-card .service-tile {
        padding: 14px 16px !important;
        border-radius: 10px !important;
    }

    .hero-service-card .service-tile .d-flex.gap-3 {
        gap: 13px !important;
    }

    .hero-service-card .widget-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        border-radius: 8px !important;
    }

    .hero-service-card .widget-icon i {
        font-size: 18px !important;
    }

    .hero-service-card .service-tile-title {
        font-size: 13.5px !important;
        line-height: 1.35 !important;
        margin-bottom: 3px !important;
    }

    .hero-service-card .service-tile-sub {
        font-size: 11.5px !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
    }

    .hero-service-card .service-tile-desc {
        font-size: 11.5px !important;
        line-height: 1.45 !important;
    }

    .dash-map-controls-top {
        top: 8px;
        right: 8px;
        left: 8px;
        align-items: flex-end;
    }

    .dash-map-layer-switch {
        max-width: 100%;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .dash-layer-btn {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dash-map-zoom-tools {
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .dash-hero-section > .dash-container {
        padding-top: calc(var(--header-h) + 12px) !important;
    }

    .dash-map-wrapper {
        margin-left: -4px;
        margin-right: -4px;
    }

    #dashMapRdtr {
        height: 360px;
    }

    .dash-map-layer-switch {
        width: fit-content;
        max-width: calc(100vw - 52px);
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .dash-layer-btn {
        font-size: 10px;
        padding-left: 6px;
        padding-right: 6px;
    }

    .dash-map-zoom-tools {
        width: 34px;
    }

    .dash-tool-btn {
        width: 34px;
        height: 34px;
    }

    .dash-tool-opacity {
        width: 34px;
        padding: 3px;
    }

    .dash-tool-opacity .dash-layer-opacity-box {
        min-height: 68px;
    }

    .dash-tool-opacity .dash-range-slider {
        height: 52px;
    }

    .dash-map-legend-panel {
        bottom: 8px;
        right: 8px;
        width: calc(100% - 16px);
    }
}

/* ==========================================================================
   ACCESSIBILITY MODAL & RIGHT DRAWER (Referensi Portal Tangerang Selatan)
   ========================================================================== */
.accessibility-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1080 !important;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.35s ease;
}

.accessibility-modal.active {
    pointer-events: auto !important;
    visibility: visible !important;
}

/* Backdrop Overlay */
.accessibility-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.accessibility-modal.active .accessibility-modal-overlay {
    opacity: 1;
}

/* Drawer Content sliding from right */
.accessibility-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 375px;
    max-width: 90vw;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.22);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    overflow: hidden;
}

.accessibility-modal.active .accessibility-modal-content {
    transform: translateX(0);
}

/* Drawer Header */
.accessibility-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.accessibility-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.accessibility-modal-header h3 i {
    font-size: 1.25rem;
    color: var(--primary, #114972);
}

.accessibility-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.accessibility-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

/* Drawer Body */
.accessibility-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accessibility-modal-body::-webkit-scrollbar {
    width: 6px;
}

.accessibility-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Card Items */
.accessibility-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}

.accessibility-item:hover {
    border-color: #cbd5e1;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.accessibility-item:has(.accessibility-toggle) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accessibility-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
}

.accessibility-item-left i,
.accessibility-item-header i {
    width: 20px;
    color: var(--primary, #114972);
    font-size: 15px;
    text-align: center;
    flex-shrink: 0;
}

.accessibility-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 10px;
}

/* Controls (- 100% +) */
.accessibility-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 4px 6px;
}

.control-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #f1f5f9;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: var(--primary, #114972);
    color: #ffffff;
}

.control-value {
    font-weight: 700;
    font-size: 13.5px;
    color: #0f172a;
}

/* Button Groups (Spacing, Alignment) */
.accessibility-button-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.accessibility-item:has(.alignment-btn) .accessibility-button-group {
    grid-template-columns: repeat(4, 1fr);
}

.spacing-btn,
.alignment-btn {
    padding: 8px 6px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spacing-btn:hover,
.alignment-btn:hover {
    border-color: var(--primary, #114972);
    color: var(--primary, #114972);
    background: #f0f7ff;
}

.spacing-btn.active,
.alignment-btn.active {
    background: var(--primary, #114972);
    color: #ffffff;
    border-color: var(--primary, #114972);
    box-shadow: 0 2px 6px rgba(17, 73, 114, 0.3);
}

/* iOS Toggle Slider */
.accessibility-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.accessibility-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #cbd5e1;
    border-radius: 24px;
    transition: 0.3s;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.accessibility-toggle input:checked + .toggle-slider {
    background-color: var(--primary, #114972);
}

.accessibility-toggle input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

/* Reset Button */
.accessibility-reset-btn {
    margin-top: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.accessibility-reset-btn:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

/* Body setting classes */
body.accessibility-modal-open {
    overflow: hidden !important;
}

body.a11y-bold-text *:not(i):not(svg) {
    font-weight: 700 !important;
}

body.a11y-highlight-links a {
    text-decoration: underline !important;
    background-color: #fef08a !important;
    color: #854d0e !important;
    padding: 0 2px !important;
    border-radius: 3px !important;
}

body.a11y-monochrome {
    filter: grayscale(100%) !important;
}

body.a11y-high-contrast {
    filter: contrast(140%) brightness(105%) !important;
}

body.a11y-large-cursor,
body.a11y-large-cursor * {
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='%23114972' stroke='white' stroke-width='1.5'><path d='M3 3l7.07 16.97 2.51-7.39 7.39-2.51L3 3z'/></svg>"), auto !important;
}

body.a11y-pause-animations,
body.a11y-pause-animations * {
    animation-play-state: paused !important;
    transition: none !important;
}

body.a11y-hide-images img,
body.a11y-hide-images [style*="background-image"] {
    visibility: hidden !important;
}

