/* ==========================================================================
   STANDALONE PRESENSI - PREMIUM CUSTOM DESIGN SYSTEM
   Universal Mobile-First & Cross-Device Compatible
   Tested for iPhone, Samsung, Xiaomi, Oppo, Vivo, Infinix, etc.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Color Palette */
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --primary-200: #bfdbfe;
  --primary-500: #3b82f6;
  --primary-600: #2563eb;
  --primary-700: #1d4ed8;
  
  --brand-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #0f172a 100%);
  --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #334155 100%);
  --accent-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --success-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  --danger-gradient: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  --warning-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-title: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --border: #e2e8f0;
  --border-focus: #3b82f6;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;
  
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* ==========================================================================
   GLOBAL MOBILE HYGIENE & RESETS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  min-height: -webkit-fill-available;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.5;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Touch optimization for mobile tap */
button, a, select, input, .user-badge-pill, .btn-modern, .mobile-nav-item {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--primary-600);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover, a:focus {
  color: var(--primary-700);
  text-decoration: none;
}

/* Prevent iOS Safari 16px auto-zoom bug on inputs */
@media screen and (max-width: 768px) {
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="date"],
  input[type="time"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ==========================================================================
   NAVBAR (DESKTOP & MOBILE TOP BAR)
   ========================================================================== */
.presensi-navbar {
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 1050;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding-top: env(safe-area-inset-top);
}

.navbar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
}

.brand-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.brand-sub {
  font-size: 11px;
  color: var(--text-subtle);
  display: block;
  margin-top: -2px;
}

/* Desktop Navigation Links */
.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-desktop > li > a {
  color: #94a3b8;
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.nav-links-desktop > li > a:hover,
.nav-links-desktop > li.active > a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-links-desktop > li.active > a {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.user-badge-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s;
}

.user-avatar-sm {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   MOBILE BOTTOM NAVIGATION BAR (NATIVE APP FEEL)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.3);
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    gap: 3px;
    flex: 1;
    height: 100%;
    text-align: center;
    transition: all 0.2s ease;
  }

  .mobile-nav-item.active {
    color: #38bdf8;
  }

  .mobile-nav-item i {
    font-size: 18px;
  }

  .main-wrapper {
    padding-bottom: calc(85px + env(safe-area-inset-bottom)) !important;
  }
}

/* ==========================================================================
   PAGE WRAPPER & CONTAINER
   ========================================================================== */
.main-wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 14px 60px 14px;
}

/* ==========================================================================
   HERO PROFILE CARD (MOBILE-PERFECTED)
   ========================================================================== */
.hero-profile-card {
  background: var(--hero-gradient);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.3);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-profile-card::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0) 70%);
  pointer-events: none;
}

.hero-content-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.hero-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.hero-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #60a5fa;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.hero-user-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 0 0 4px 0;
  color: #ffffff;
  word-break: break-word;
}

.hero-user-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #cbd5e1;
  font-size: 12px;
}

.meta-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.hero-clock-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  text-align: right;
  backdrop-filter: blur(10px);
}

.hero-clock-time {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.clock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.hero-clock-date {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 1px;
}

/* ==========================================================================
   STATUS BANNER CARD
   ========================================================================== */
.status-banner-card {
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: var(--shadow-xs);
  border: 1px solid transparent;
}

.status-banner-masuk {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.status-banner-pulang {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.status-banner-belum {
  background: #fffbeb;
  border-color: #fde68a;
  color: #92400e;
}

.status-icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.status-banner-masuk .status-icon-circle {
  background: #dcfce7;
  color: #16a34a;
}

.status-banner-pulang .status-icon-circle {
  background: #dbeafe;
  color: #2563eb;
}

.status-banner-belum .status-icon-circle {
  background: #fef3c7;
  color: #d97706;
}

.status-text-content h4 {
  margin: 0 0 3px 0;
  font-size: 15px;
  font-weight: 700;
}

.status-text-content p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.4;
  opacity: 0.9;
}

/* Quote Bar */
.quote-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--primary-500);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-bar i {
  color: var(--primary-500);
  font-size: 15px;
  flex-shrink: 0;
}

/* ==========================================================================
   PRESENSI ACTION BOX & BIG TACTILE BUTTON
   ========================================================================== */
.presensi-action-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.btn-presensi-main {
  background: var(--success-gradient);
  color: #ffffff !important;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: -0.2px;
  min-height: 52px;
}

.btn-presensi-main:hover, .btn-presensi-main:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.45);
}

.btn-presensi-main:active {
  transform: translateY(1px);
}

.btn-presensi-pulang {
  background: var(--danger-gradient);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.35);
}

.btn-presensi-pulang:hover, .btn-presensi-pulang:focus {
  box-shadow: 0 12px 25px rgba(239, 68, 68, 0.45);
}

.gps-instruction {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CARDS & PANELS
   ========================================================================== */
.premium-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.card-header-clean {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  flex-wrap: wrap;
  gap: 8px;
}

.card-title-clean {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title-clean i {
  color: var(--primary-500);
}

.card-body-clean {
  padding: 20px;
}

/* ==========================================================================
   TABLES & RESPONSIVE SCROLL
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  border-radius: var(--radius-sm);
}

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

.table-modern th {
  background-color: var(--bg-subtle);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  border-top: none;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.table-modern td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  font-size: 13px;
  vertical-align: middle;
}

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

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

.table-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ffffff;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
}

/* ==========================================================================
   BADGES & STATUS CHIPS
   ========================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.chip-success {
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.chip-success .chip-dot { background-color: #10b981; }

.chip-warning {
  background-color: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}
.chip-warning .chip-dot { background-color: #f59e0b; }

.chip-danger {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.chip-danger .chip-dot { background-color: #ef4444; }

.chip-info {
  background-color: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}
.chip-info .chip-dot { background-color: #3b82f6; }

/* ==========================================================================
   FORM CONTROLS & BUTTONS
   ========================================================================== */
.form-control {
  font-family: var(--font-main);
  background-color: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-title);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
  height: 42px;
}

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

.form-label-custom {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-title);
  margin-bottom: 5px;
  display: block;
}

.filter-card {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.btn-modern {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.btn-modern-primary {
  background: var(--primary-600);
  color: #ffffff !important;
}

.btn-modern-primary:hover, .btn-modern-primary:focus {
  background: var(--primary-700);
}

.btn-modern-default {
  background: #ffffff;
  border-color: var(--border);
  color: var(--text-body);
}

.btn-modern-default:hover, .btn-modern-default:focus {
  background: var(--bg-subtle);
}

.btn-modern-success {
  background: #10b981;
  color: #ffffff !important;
}

.btn-modern-danger {
  background: #ef4444;
  color: #ffffff !important;
}

/* ==========================================================================
   CAMERA MODAL (MOBILE FIT & ROTATION SAFE)
   ========================================================================== */
.modal-camera .modal-dialog {
  margin: 40px auto;
  max-width: 390px;
  width: calc(100% - 24px);
}

.modal-camera .modal-content {
  background: #090d16;
  color: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.modal-camera .modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-camera .modal-title {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.modal-camera .modal-body {
  padding: 20px 16px;
  text-align: center;
}

.camera-view-wrapper {
  position: relative;
  width: 280px;
  height: 280px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.25);
  background: #000000;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

#camera-container {
  width: 100% !important;
  height: 100% !important;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

#camera-container video {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#camera-container.camera-mirror video {
  transform: scaleX(-1) !important;
  transform-origin: center center !important;
}

.camera-overlay-frame {
  position: absolute;
  top: 14px; left: 14px; right: 14px; bottom: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.45);
  border-radius: var(--radius-md);
  pointer-events: none;
  z-index: 5;
}

@media (max-width: 576px) {
  .camera-view-wrapper {
    width: 260px !important;
    height: 260px !important;
  }
}

/* ==========================================================================
   SCHEDULE MATRIX (STICKY FIRST COLUMN ON MOBILE)
   ========================================================================== */
.table-schedule-matrix {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  font-size: 12px;
}

.table-schedule-matrix th {
  background: var(--bg-subtle);
  padding: 8px 4px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--text-muted);
}

.table-schedule-matrix td {
  padding: 6px 3px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid rgba(226, 232, 240, 0.4);
}

/* Pinned left column on small screens */
.table-schedule-matrix th:first-child,
.table-schedule-matrix td:first-child {
  position: sticky;
  left: 0;
  background-color: #ffffff;
  z-index: 2;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.table-schedule-matrix th:first-child {
  background-color: var(--bg-subtle);
  z-index: 3;
}

.shift-pill {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 10.5px;
}

.shift-pagi { background: #dbeafe; color: #1e40af; }
.shift-siang { background: #fef3c7; color: #92400e; }
.shift-malam { background: #f3e8ff; color: #6b21a8; }
.shift-kosong { color: #cbd5e1; }

/* ==========================================================================
   FINE-TUNED MOBILE ADAPTATIONS (SMALL SCREENS <= 576px)
   ========================================================================== */
@media (max-width: 576px) {
  .navbar-container {
    height: 54px;
    padding: 0 12px;
  }

  .brand-name {
    font-size: 14px;
    max-width: 180px;
  }

  .hero-profile-card {
    padding: 18px;
    border-radius: var(--radius-md);
  }

  .hero-user-info {
    gap: 12px;
  }

  .hero-avatar {
    width: 52px;
    height: 52px;
    min-width: 52px;
    font-size: 22px;
  }

  .hero-user-name {
    font-size: 17px;
  }

  .hero-clock-box {
    width: 100%;
    text-align: center;
    margin-top: 6px;
    padding: 8px 12px;
  }

  .hero-clock-time {
    justify-content: center;
    font-size: 22px;
  }

  .presensi-action-box {
    padding: 24px 14px;
    border-radius: var(--radius-md);
  }

  .btn-presensi-main {
    width: 100%;
    font-size: 15px;
    padding: 14px 18px;
  }

  .card-body-clean {
    padding: 14px;
  }

  .card-header-clean {
    padding: 14px;
  }

  .filter-card {
    padding: 10px;
  }

  .table-modern th, .table-modern td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .table-avatar {
    width: 34px;
    height: 34px;
  }
}
/* Responsive Map & Modal iframe for Mobile */
@media (max-width: 768px) {
  #map-picker {
    height: 280px !important;
  }
  #modalGoogleMap .modal-body {
    height: 60vh !important;
  }
  .login-card-header {
    padding: 26px 20px !important;
  }
  .login-card-body {
    padding: 22px 18px !important;
  }
}