﻿.logo-sasuke {
    width:30%;
    margin:auto;
    position:relative;
    left:35%;
}
.sasuke-sidebar {
    width:50%;
    color: white;
    filter: invert(100%);
    -webkit-filter: invert(100%);
    position: relative;
    z-index: -9999;
}
.validate {
    margin-top: 10px
}
.invalid-form-error-message {
    margin-top: 10px;
    padding: 5px
}
.invalid-form-error-message.filled {
    border-left: 2px solid #E74C3C
}
p.parsley-success {
    color: #468847;
    background-color: #DFF0D8;
    border: 1px solid #D6E9C6
}
p.parsley-error {
    color: #B94A48;
    background-color: #F2DEDE;
    border: 1px solid #EED3D7
}
ul.parsley-errors-list {
    list-style: none;
    color: #E74C3C;
    padding-left: 0
}
input.parsley-error,
textarea.parsley-error,
select.parsley-error {
    background: #FAEDEC;
    border: 1px solid #E85445
}
.btn-group .parsley-errors-list {
    display: none
}

.wrapper{
  position: relative;
  height: 65px;
  width: 100%;
}

.wrapper span{
  position: absolute;
  right: 15px;
  top: 30%;
  transform: translateY(-50%);
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper input:valid ~ span{
  display: block;
}

.wrapper span i.hide-btn::before{
  content: "\f070";
}

.tagsinput {
    border: 1px solid #CCC;
    background: #FFF;
    padding: 6px 6px 0;
    width: 300px;
    overflow-y: auto
}
span.tag {
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    display: block;
    float: left;
    padding: 5px 9px;
    text-decoration: none;
    background: #1ABB9C;
    color: #F1F6F7;
    margin-right: 5px;
    font-weight: 500;
    margin-bottom: 5px;
    font-family: helvetica
}
span.tag a {
    color: #F1F6F7 !important
}
.tagsinput span.tag a {
    font-weight: bold;
    color: #82ad2b;
    text-decoration: none;
    font-size: 11px
}
.tagsinput input {
    width: 80px;
    margin: 0px;
    font-family: helvetica;
    font-size: 13px;
    border: 1px solid transparent;
    padding: 3px;
    background: transparent;
    color: #000;
    outline: 0px
}
.tagsinput div {
    display: block;
    float: left
}
.tags_clear {
    clear: both;
    width: 100%;
    height: 0px
}

hr.batas-kop {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: medium double #333;
    color: #333;
    text-align: center;
}

.export-btn {
    margin-right:15px;
    border-radius:5px;
    float:right;
}

.rem-5 {
    padding:5rem
}

.table-skmk {
    font-family:Calibri, sans-serif; 
    border-collapse: collapse;
}

.header-pelapor {
    text-indent:50px;
    text-align: justify;
}

.table-lapor {
    border:none;
    width:80%;
    margin-left:10%
}

.indent-50 {
    text-indent:50px;
}

.tanda-tangan {
    text-indent: 34em;
}

.mt-min-1 {
    margin-top: -1rem;
}

/* ==========================================================================
   SASUKE MODERN DESIGN SYSTEM (ENTERPRISE HEALTHCARE UI)
   Puskesmas Kecamatan Kalideres - Modern Theme & Dashboard Polishing
   ========================================================================== */

:root {
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;

    --emerald-50: #ecfdf5;
    --emerald-500: #10b981;
    --emerald-600: #059669;

    --amber-50: #fffbeb;
    --amber-500: #f59e0b;
    --amber-600: #d97706;

    --rose-50: #fef2f2;
    --rose-500: #ef4444;
    --rose-600: #dc2626;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 9999px;

    --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --shadow-elevated: 0 12px 28px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
}

/* Global Font & Body Styling */
body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    background-color: #f4f6fa !important;
    color: var(--slate-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#content-wrapper {
    background-color: #f4f6fa !important;
}

/* --------------------------------------------------------------------------
   SIDEBAR POLISH
   -------------------------------------------------------------------------- */
#accordionSidebar {
    background: linear-gradient(180deg, #0d1b2a 0%, #1b263b 50%, #0d1b2a 100%) !important;
    box-shadow: 4px 0 24px rgba(13, 27, 42, 0.15);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 10;
}

.sidebar-dark .sidebar-brand {
    height: 4.75rem;
    padding: 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand-icon img.sasuke-sidebar {
    width: 38px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(59, 130, 246, 0.5));
    -webkit-filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(59, 130, 246, 0.5));
    position: static;
    z-index: 1;
}

.sidebar-brand-text {
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-right: 0 !important;
    margin-left: 0.65rem;
}

.sidebar-heading {
    padding: 1rem 1.25rem 0.35rem !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.38) !important;
}

.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    margin: 0.5rem 1rem !important;
}

.sidebar-dark .nav-item {
    margin: 2px 10px;
}

.sidebar-dark .nav-item .nav-link {
    border-radius: var(--radius-md);
    padding: 0.65rem 0.95rem;
    color: rgba(255, 255, 255, 0.72) !important;
    font-weight: 500;
    font-size: 0.86rem;
    display: flex;
    align-items: center;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-dark .nav-item .nav-link i {
    font-size: 0.95rem;
    width: 1.5rem;
    text-align: center;
    margin-right: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s;
}

.sidebar-dark .nav-item .nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

.sidebar-dark .nav-item .nav-link:hover i {
    color: #60a5fa;
}

.sidebar-dark .nav-item.active .nav-link {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.85) 0%, rgba(29, 78, 216, 0.7) 100%) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    font-weight: 600;
}

.sidebar-dark .nav-item.active .nav-link i {
    color: #ffffff !important;
}

#sidebarToggle {
    background-color: rgba(255, 255, 255, 0.1) !important;
    transition: all 0.2s;
}

#sidebarToggle:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* --------------------------------------------------------------------------
   TOPBAR POLISH
   -------------------------------------------------------------------------- */
.topbar {
    height: 4.25rem !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--slate-200) !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03) !important;
}

.topbar-info-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    color: var(--slate-600);
    font-weight: 500;
    transition: all 0.15s ease;
}

.topbar-info-chip:hover {
    background: #ffffff;
    border-color: var(--primary-200);
    box-shadow: var(--shadow-subtle);
}

.topbar-info-chip .chip-label {
    color: var(--slate-400);
    font-weight: 600;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.topbar-info-chip .chip-value {
    color: var(--slate-800);
    font-weight: 600;
}

.user-profile-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px 4px 12px;
    border-radius: var(--radius-pill);
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    transition: all 0.15s ease;
}

.user-profile-badge:hover {
    background: #ffffff;
    border-color: var(--primary-200);
    box-shadow: var(--shadow-subtle);
}

.user-display-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--slate-800);
    line-height: 1.2;
}

.user-display-role {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-600);
    line-height: 1.2;
}

.topbar .img-profile {
    height: 2.25rem;
    width: 2.25rem;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   PAGE HEADER & HERO BAR
   -------------------------------------------------------------------------- */
.page-header-modern {
    background: #ffffff;
    padding: 1.5rem 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-card);
    margin-bottom: 1.5rem;
}

.breadcrumb-modern {
    background: transparent !important;
    padding: 0 !important;
    margin-bottom: 0.35rem !important;
    font-size: 0.78rem;
}

.breadcrumb-modern .breadcrumb-item a {
    color: var(--primary-600);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb-modern .breadcrumb-item.active {
    color: var(--slate-400);
    font-weight: 600;
}

.page-title-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.title-icon-bubble {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.page-subtitle-modern {
    color: var(--slate-500);
    font-size: 0.88rem;
    margin-bottom: 0;
    line-height: 1.4;
}

.page-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--slate-50) 0%, #ffffff 100%);
    border: 1px solid var(--slate-200);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}

.page-stat-badge .stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-50);
    color: var(--primary-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.page-stat-badge .stat-number {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1;
}

.page-stat-badge .stat-label {
    display: block;
    font-size: 0.72rem;
    color: var(--slate-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 3px;
}

/* --------------------------------------------------------------------------
   CARD & TABLE POLISH
   -------------------------------------------------------------------------- */
.card-modern {
    background: #ffffff !important;
    border: 1px solid var(--slate-200) !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-card) !important;
    overflow: hidden;
}

.card-header-modern {
    background: #ffffff !important;
    border-bottom: 1px solid var(--slate-100) !important;
    padding: 1.25rem 1.5rem !important;
}

.card-title-modern {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    color: var(--slate-900) !important;
    display: flex;
    align-items: center;
}

.card-subtitle-modern {
    display: block;
    font-size: 0.78rem;
    color: var(--slate-400);
    font-weight: 500;
    margin-top: 3px;
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: var(--radius-md) !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    padding: 0.6rem 1.2rem !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-800) 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35) !important;
}

/* Table Modern Styles */
.table-modern {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border: none !important;
    width: 100% !important;
    margin-top: 0.5rem !important;
    margin-bottom: 1rem !important;
}

.table-modern thead th {
    background: #f8fafc !important;
    color: var(--slate-600) !important;
    font-size: 0.74rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-top: none !important;
    border-bottom: 2px solid var(--slate-200) !important;
    border-left: none !important;
    border-right: none !important;
    padding: 1rem 1rem !important;
    vertical-align: middle !important;
    white-space: nowrap;
}

.table-modern tbody tr {
    transition: background-color 0.15s ease;
}

.table-modern tbody tr:hover {
    background-color: #f8fafc !important;
}

.table-modern tbody tr:nth-of-type(even) {
    background-color: #fafbfc;
}

.table-modern tbody tr:nth-of-type(even):hover {
    background-color: #f1f5f9 !important;
}

.table-modern tbody td {
    padding: 0.95rem 1rem !important;
    vertical-align: middle !important;
    border-top: 1px solid var(--slate-100) !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    font-size: 0.88rem;
    color: var(--slate-700);
}

/* Cell Elements */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-initials {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.user-name-text {
    font-weight: 600;
    color: var(--slate-900);
    line-height: 1.3;
    display: block;
}

.nip-badge {
    display: inline-flex;
    align-items: center;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
    color: var(--slate-600);
    background: var(--slate-100);
    padding: 3px 9px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--slate-200);
}

.badge-username {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-700);
    background: var(--primary-50);
    border: 1px solid var(--primary-100);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.badge-role {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.badge-role-doctor {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.badge-role-admin {
    background: #f5f3ff;
    color: #6d28d9;
    border: 1px solid #ddd6fe;
}

.badge-role-operator {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-role-default {
    background: var(--slate-100);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
}

.email-link {
    display: inline-flex;
    align-items: center;
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.84rem;
    transition: color 0.15s ease;
}

.email-link:hover {
    color: var(--primary-600);
    text-decoration: underline;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
}

.badge-status-active {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.badge-status-inactive {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #cbd5e1;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-status-active .status-dot {
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25);
}

.badge-status-inactive .status-dot {
    background: #94a3b8;
}

/* Action Buttons */
.action-btn-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-action-modern {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none !important;
}

.btn-action-edit {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border-color: #fde68a !important;
}

.btn-action-edit:hover {
    background: #f59e0b !important;
    color: #ffffff !important;
    border-color: #f59e0b !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.btn-action-delete {
    background: #fee2e2 !important;
    color: #b91c1c !important;
    border-color: #fecaca !important;
}

.btn-action-delete:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

/* --------------------------------------------------------------------------
   DATATABLES CONTROLS POLISH
   -------------------------------------------------------------------------- */
.dataTables_wrapper {
    padding: 0.25rem 0;
}

.dataTables_length {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--slate-600);
}

.dataTables_length select {
    border: 1px solid var(--slate-200) !important;
    border-radius: var(--radius-sm) !important;
    padding: 0.35rem 0.65rem !important;
    font-size: 0.85rem !important;
    color: var(--slate-700) !important;
    background-color: #ffffff !important;
    outline: none !important;
    box-shadow: none !important;
}

.dataTables_filter {
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--slate-600);
}

.dataTables_filter input {
    border: 1px solid var(--slate-200) !important;
    border-radius: var(--radius-pill) !important;
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem !important;
    color: var(--slate-700) !important;
    background-color: #ffffff !important;
    margin-left: 0.5rem !important;
    outline: none !important;
    transition: all 0.2s ease;
}

.dataTables_filter input:focus {
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.dataTables_info {
    font-size: 0.82rem !important;
    color: var(--slate-500) !important;
    padding-top: 1rem !important;
}

.dataTables_paginate {
    padding-top: 0.75rem !important;
}

.dataTables_paginate .paginate_button {
    border-radius: var(--radius-sm) !important;
    padding: 0.35rem 0.75rem !important;
    margin: 0 2px !important;
    font-size: 0.82rem !important;
    border: 1px solid var(--slate-200) !important;
    background: #ffffff !important;
    color: var(--slate-700) !important;
    transition: all 0.15s ease;
}

.dataTables_paginate .paginate_button:hover {
    background: var(--slate-50) !important;
    border-color: var(--slate-300) !important;
    color: var(--slate-900) !important;
}

.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button.current:hover {
    background: var(--primary-600) !important;
    border-color: var(--primary-600) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3) !important;
}

/* --------------------------------------------------------------------------
   MODAL POLISH
   -------------------------------------------------------------------------- */
.modal-content {
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--slate-200) !important;
    box-shadow: var(--shadow-elevated) !important;
    overflow: hidden;
}

.modal-header {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--primary-900) 100%) !important;
    color: #ffffff !important;
    padding: 1.25rem 1.5rem !important;
    border-bottom: none !important;
}

.modal-title {
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    color: #ffffff !important;
    letter-spacing: -0.01em;
}

.modal-header .close {
    color: #ffffff !important;
    opacity: 0.75 !important;
    text-shadow: none !important;
    transition: opacity 0.2s;
    outline: none !important;
}

.modal-header .close:hover {
    opacity: 1 !important;
}

.modal-body {
    padding: 1.5rem !important;
    background: #ffffff;
}

.modal-footer {
    background: var(--slate-50) !important;
    border-top: 1px solid var(--slate-200) !important;
    padding: 1rem 1.5rem !important;
}

.modal-body .form-control {
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--slate-300) !important;
    font-size: 0.88rem !important;
    padding: 0.55rem 0.85rem !important;
    transition: all 0.2s;
}

.modal-body .form-control:focus {
    border-color: var(--primary-500) !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
}

.modal-body label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.35rem;
}



/* ==========================================================================
   DASHBOARD EKSEKUTIF & LAPORAN PIMPINAN STYLING
   ========================================================================== */

.dashboard-hero-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #1d4ed8 100%);
    border-radius: var(--radius-lg);
    padding: 1.75rem 2rem;
    color: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.3);
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}

.dashboard-hero-card::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.dashboard-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.dashboard-hero-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    margin-bottom: 0;
    max-width: 650px;
    line-height: 1.5;
}

.kpi-stat-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--slate-200);
    padding: 1.25rem 1.35rem;
    box-shadow: var(--shadow-card);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.kpi-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-elevated);
    border-color: var(--primary-200);
}

.kpi-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.kpi-icon-blue { background: #eff6ff; color: #2563eb; }
.kpi-icon-emerald { background: #ecfdf5; color: #059669; }
.kpi-icon-amber { background: #fffbeb; color: #d97706; }
.kpi-icon-purple { background: #f5f3ff; color: #7c3aed; }
.kpi-icon-rose { background: #fef2f2; color: #dc2626; }

.kpi-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--slate-900);
    line-height: 1.2;
    margin-bottom: 0.15rem;
    letter-spacing: -0.02em;
}

.kpi-label {
    font-size: 0.82rem;
    color: var(--slate-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.kpi-badge-trend {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    margin-top: 0.4rem;
}

.kpi-badge-info { background: #eff6ff; color: #1d4ed8; }
.kpi-badge-success { background: #dcfce7; color: #15803d; }

.chart-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.5rem;
    border-bottom: 1px solid var(--slate-100);
}

.chart-card-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--slate-800);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chart-card-body {
    padding: 1.5rem;
    position: relative;
}

/* Print Only Styles */
.print-only {
    display: none !important;
}

@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-size: 10pt !important;
    }

    #accordionSidebar,
    .topbar,
    .navbar,
    .btn,
    .no-print,
    .breadcrumb-modern,
    .dataTables_filter,
    .dataTables_length,
    .dataTables_paginate,
    .dataTables_info,
    footer {
        display: none !important;
    }

    #content-wrapper,
    #content,
    .container-fluid {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .print-only {
        display: block !important;
    }

    .card,
    .card-modern {
        border: none !important;
        box-shadow: none !important;
        margin-bottom: 1rem !important;
    }

    .table {
        border: 1px solid #333 !important;
        font-size: 9pt !important;
    }

    .table th,
    .table td {
        border: 1px solid #333 !important;
        padding: 6px !important;
        color: #000000 !important;
    }

    .print-header-kop {
        border-bottom: 3px double #000;
        padding-bottom: 12px;
        margin-bottom: 20px;
        text-align: center;
    }

    .print-header-kop h3 {
        font-size: 14pt;
        font-weight: bold;
        margin: 0;
        text-transform: uppercase;
    }

    .print-header-kop h4 {
        font-size: 12pt;
        font-weight: bold;
        margin: 2px 0;
        text-transform: uppercase;
    }

    .print-header-kop p {
        font-size: 9pt;
        margin: 0;
    }

    .print-signatures {
        margin-top: 35px;
        page-break-inside: avoid;
    }
}


/* ==========================================================================
   STYLE LENGKAP DASHBOARD EKSEKUTIF SASUKE (.dash-*)
   ========================================================================== */

/* HAPUS SEMUA ELEMEN KOP & TTD CETAK DARI TAMPILAN LAYAR */
.print-only {
    display: none !important;
}

/* HERO BANNER EKSEKUTIF */
.dash-hero-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #1d4ed8 100%);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.25);
    margin-bottom: 1.75rem;
    position: relative;
    overflow: hidden;
}
.dash-hero-banner::after {
    content: '';
    position: absolute;
    right: -30px;
    top: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}
.dash-hero-title {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
    color: #ffffff !important;
}
.dash-hero-desc {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 0.92rem;
    margin-bottom: 0;
    line-height: 1.5;
    max-width: 720px;
}

/* KARTU KPI STAT */
.dash-kpi-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    padding: 1.35rem 1.45rem;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.dash-kpi-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.08);
    border-color: #bfdbfe;
}
.dash-kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.dash-kpi-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin: 0;
}
.dash-kpi-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.dash-kpi-icon.blue { background: #eff6ff; color: #2563eb; }
.dash-kpi-icon.emerald { background: #ecfdf5; color: #059669; }
.dash-kpi-icon.amber { background: #fffbeb; color: #d97706; }
.dash-kpi-icon.purple { background: #f5f3ff; color: #7c3aed; }

.dash-kpi-val {
    font-size: 2.15rem;
    font-weight: 800;
    line-height: 1.1;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}
.dash-kpi-sub {
    font-size: 0.76rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dash-kpi-sub.blue { background: #eff6ff; color: #1d4ed8; }
.dash-kpi-sub.emerald { background: #dcfce7; color: #15803d; }
.dash-kpi-sub.amber { background: #fef3c7; color: #92400e; }
.dash-kpi-sub.purple { background: #f3e8ff; color: #6b21a8; }

/* KARTU GRAFIK & KONTEN */
.dash-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    margin-bottom: 1.75rem;
}
.dash-card-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.dash-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-card-subtitle {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}
.dash-card-body {
    padding: 1.5rem 1.65rem;
    position: relative;
}

/* TABEL REKAPITULASI LAPORAN */
.dash-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}
.dash-table thead th {
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-top: none;
    border-bottom: 2px solid #e2e8f0;
    padding: 0.85rem 1rem;
    vertical-align: middle;
    white-space: nowrap;
}
.dash-table tbody td {
    padding: 0.95rem 1rem;
    vertical-align: middle;
    border-top: 1px solid #f1f5f9;
    font-size: 0.88rem;
    color: #334155;
}
.dash-table tbody tr:hover {
    background-color: #f8fafc;
}

/* BADGE STATUS & USIA */
.badge-age {
    background: #f1f5f9;
    color: #334155;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.badge-skmk-no {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #dbeafe;
    font-size: 0.82rem;
}

/* TOMBOL CETAK & AKSI */
.btn-print-executive {
    background: #ffffff;
    color: #1e3a8a;
    border: none;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.65rem 1.35rem;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-print-executive:hover {
    background: #f8fafc;
    color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* ATURAN FORMAT CETAK RESMI (@media print) */
@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
        font-family: 'Times New Roman', Times, serif, Arial, sans-serif !important;
    }

    /* Sembunyikan elemen navigasi web */
    #accordionSidebar,
    .topbar,
    .navbar,
    .no-print,
    .dash-hero-banner,
    .btn,
    .dataTables_wrapper,
    footer {
        display: none !important;
    }

    #content-wrapper,
    #content,
    .container-fluid {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Tampilkan elemen cetak kop resmi */
    .print-only {
        display: block !important;
    }

    .print-kop-wrapper {
        border-bottom: 3px double #000000;
        padding-bottom: 12px;
        margin-bottom: 18px;
    }
    .print-kop-header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .print-kop-title {
        text-align: center;
    }
    .print-kop-title h2 {
        font-size: 13pt;
        font-weight: bold;
        margin: 0;
        text-transform: uppercase;
    }
    .print-kop-title h3 {
        font-size: 12pt;
        font-weight: bold;
        margin: 2px 0;
        text-transform: uppercase;
    }
    .print-kop-title h4 {
        font-size: 13pt;
        font-weight: bold;
        margin: 2px 0;
        text-transform: uppercase;
    }
    .print-kop-title p {
        font-size: 9pt;
        margin: 0;
    }

    .print-doc-title {
        text-align: center;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    .print-doc-title h3 {
        font-size: 11pt;
        font-weight: bold;
        text-decoration: underline;
        margin: 0;
        text-transform: uppercase;
    }
    .print-doc-title span {
        font-size: 9pt;
    }

    .dash-kpi-card,
    .dash-card {
        border: 1px solid #cccccc !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

    .dash-table {
        border: 1px solid #333333 !important;
        font-size: 9pt !important;
    }
    .dash-table th,
    .dash-table td {
        border: 1px solid #333333 !important;
        padding: 5px 8px !important;
        color: #000000 !important;
    }

    .print-signatures-block {
        margin-top: 35px;
        display: flex;
        justify-content: space-between;
        page-break-inside: avoid;
        font-size: 10pt;
    }
    .print-sign-box {
        text-align: center;
        width: 45%;
    }
    .print-sign-space {
        height: 65px;
    }
}
