/**
 * ESS Modern Module Design System
 * Reusable components for Jadwal, Absensi, Cuti, Medical, Penggajian, KPI, etc.
 * YPAP Avicenna - Employee Self Service
 */

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

:root {
  --ess-primary: #ea580c;
  --ess-primary-hover: #c2410c;
  --ess-primary-light: #fff7ed;
  --ess-primary-border: #ffedd5;
  --ess-amber: #f59e0b;
  --ess-success: #10b981;
  --ess-success-light: #ecfdf5;
  --ess-info: #0284c7;
  --ess-info-light: #f0f9ff;
  --ess-danger: #ef4444;
  --ess-danger-light: #fef2f2;
  --ess-purple: #8b5cf6;
  --ess-purple-light: #f5f3ff;
  --ess-dark: #0f172a;
  --ess-slate: #334155;
  --ess-muted: #64748b;
  --ess-bg: #ffffff;
  --ess-border: #e2e8f0;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #1e293b;
  background-color: #ffffff !important;
}

.main-wrapper {
  position: relative !important;
  min-height: 100vh !important;
  background-color: #ffffff !important;
}

.main-content {
  background: transparent !important;
  position: relative !important;
  z-index: 1 !important;
}

/* ============================================================ */
/* 1. HERO PAGE HEADER / TITLE BAR                              */
/* ============================================================ */
.module-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.module-hero-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.module-hero-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 22px;
  box-shadow: 0 8px 18px -4px rgba(234, 88, 12, 0.35);
  flex-shrink: 0;
}

.module-hero-icon.icon-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.35);
}

.module-hero-icon.icon-green {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
  box-shadow: 0 8px 18px -4px rgba(16, 185, 129, 0.35);
}

.module-hero-title {
  margin: 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.4px;
  line-height: 1.25;
}

.module-hero-subtitle {
  margin: 4px 0 0 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.4;
}

.module-hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================ */
/* 2. FILTER TOOLBAR CARD                                       */
/* ============================================================ */
.module-filter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.module-filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.module-filter-select {
  height: 40px;
  padding: 6px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  background-color: #f8fafc;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.module-filter-select:focus {
  border-color: #f59e0b;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

/* ============================================================ */
/* 3. DASHBOARD METRIC STATS CARDS                              */
/* ============================================================ */
.metric-row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -8px;
  margin-left: -8px;
  margin-bottom: 22px;
}

.metric-col {
  padding-right: 8px;
  padding-left: 8px;
  flex: 1 0 0%;
  min-width: 220px;
  margin-bottom: 12px;
}

.modern-metric-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.modern-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.08);
}

.metric-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.metric-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.2;
}

.metric-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.metric-icon-orange {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.metric-icon-green {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #dcfce7;
}

.metric-icon-blue {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.metric-icon-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ede9fe;
}

.metric-icon-yellow {
  background: #fefce8;
  color: #ca8a04;
  border: 1px solid #fef08a;
}

.metric-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 6px;
}

.metric-subtext {
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
}

/* ============================================================ */
/* 4. MODERN TABLE CARD CONTAINER                               */
/* ============================================================ */
.modern-table-card,
.modern-card {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
  position: relative !important;
  z-index: 2 !important;
}

.modern-table-header,
.modern-card-header {
  padding: 18px 24px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #f1f5f9 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.modern-table-title,
.modern-card-title {
  margin: 0 !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.modern-table-title i,
.modern-card-title i {
  color: #ea580c !important;
  font-size: 16px !important;
}

.modern-table-body,
.modern-card-body {
  padding: 0 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.modern-card-body.p-4,
.modern-card-body.with-padding {
  padding: 24px !important;
}

.table-responsive {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

/* Table Design */
.modern-table,
table.modern-table {
  width: 100% !important;
  margin-bottom: 0 !important;
  border-collapse: collapse !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.modern-table thead,
table.modern-table thead {
  background-color: #f8fafc !important;
}

.modern-table thead th,
table.modern-table thead th {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  color: #475569 !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  padding: 14px 18px !important;
  border-top: none !important;
  border-bottom: 2px solid #e2e8f0 !important;
  vertical-align: middle !important;
}

.modern-table tbody,
table.modern-table tbody {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.modern-table tbody tr,
table.modern-table tbody tr {
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.modern-table tbody td,
table.modern-table tbody td {
  padding: 14px 18px !important;
  font-size: 0.9rem !important;
  color: #1e293b !important;
  vertical-align: middle !important;
  border-top: 1px solid #f1f5f9 !important;
  border-bottom: none !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  transition: background 0.15s ease;
}

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

/* ============================================================ */
/* 5. SOFT BADGES & PILL STATUS                                 */
/* ============================================================ */
.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.4;
  white-space: nowrap;
}

.badge-soft-success {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.badge-soft-warning {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
}

.badge-soft-danger {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.badge-soft-info {
  background: #f0f9ff;
  color: #0284c7;
  border: 1px solid #bae6fd;
}

.badge-soft-purple {
  background: #f5f3ff;
  color: #7c3aed;
  border: 1px solid #ddd6fe;
}

.badge-soft-primary {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.badge-soft-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

/* ============================================================ */
/* 6. TIME BADGES & DATE CHIPS                                  */
/* ============================================================ */
.time-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
}

.time-chip-in {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.time-chip-out {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #ffedd5;
}

.date-text-primary {
  font-weight: 700;
  color: #0f172a;
}

.date-text-day {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
}

/* DataTables Overrides */
div.dataTables_wrapper div.dataTables_length select {
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 4px 8px;
  font-weight: 600;
  outline: none;
}

div.dataTables_wrapper div.dataTables_filter input {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 6px 12px;
  outline: none;
  margin-left: 8px;
}

div.dataTables_wrapper div.dataTables_filter input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  border-radius: 8px !important;
  margin: 0 2px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #ea580c !important;
  border-color: #ea580c !important;
  color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
  .metric-col {
    min-width: 100%;
  }
  .module-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .module-filter-card {
    width: 100%;
  }
  .module-filter-select {
    width: 100%;
  }
}

/* ============================================================ */
/* 7. COMPACT MODERN FILTER BAR                                 */
/* ============================================================ */
.modern-filter-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.modern-filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.filter-item {
  flex: 1 1 200px;
}

.filter-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.filter-label i {
  color: #ea580c;
  font-size: 13px;
}

.filter-select {
  width: 100%;
  height: 42px;
  padding: 6px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: inherit;
  font-weight: 600;
  color: #0f172a;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.filter-select:focus {
  border-color: #f59e0b;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

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

.btn-filter-apply {
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-filter-apply:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
  color: #ffffff;
}

.btn-filter-reset {
  height: 42px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-filter-reset:hover {
  background: #e2e8f0;
  color: #0f172a;
  text-decoration: none;
}

.btn-module-cta {
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-module-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

/* ============================================================ */
/* 8. PROFILE SUBNAV TABS (7 TABS)                              */
/* ============================================================ */
.profile-subnav-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 8px 12px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.profile-subnav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  margin: 0;
  list-style: none;
  scrollbar-width: thin;
}

.profile-subnav-list::-webkit-scrollbar {
  height: 4px;
}

.profile-subnav-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.profile-tab-item {
  flex-shrink: 0;
}

.profile-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  text-decoration: none !important;
  background: transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.profile-tab-link i {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.profile-tab-link:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.profile-tab-link:hover i {
  color: #ea580c;
}

.profile-tab-link.active {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 16px -2px rgba(234, 88, 12, 0.4);
  font-weight: 700;
}

.profile-tab-link.active i {
  color: #ffffff !important;
}

/* ============================================================ */
/* 9. PROFILE SECTIONED FORM CARDS                              */
/* ============================================================ */
.profile-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.profile-card-header {
  padding: 18px 24px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.profile-card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff7ed;
  color: #ea580c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 1px solid #ffedd5;
  flex-shrink: 0;
}

.profile-section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.2px;
}

.profile-section-subtitle {
  margin: 2px 0 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.profile-card-body {
  padding: 24px;
}

/* Modern Form Controls */
.form-group-modern {
  margin-bottom: 18px;
}

.form-label-modern {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.form-label-modern .req {
  color: #ef4444;
  margin-left: 2px;
}

.form-control-modern {
  width: 100%;
  height: 44px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: #0f172a;
  background-color: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  transition: all 0.2s ease;
  outline: none;
}

.form-control-modern:focus {
  background-color: #ffffff;
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.form-control-modern[readonly],
.form-control-modern:disabled {
  background-color: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

select.form-control-modern {
  appearance: auto;
}

/* File Upload & Current File Chip */
.file-upload-wrapper {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.2s ease;
}

.file-upload-wrapper:hover {
  border-color: #f59e0b;
  background: #fffbeb;
}

.file-current-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  width: fit-content;
  transition: all 0.2s ease;
}

.file-current-chip:hover {
  background: #d1fae5;
  color: #065f46;
  transform: translateY(-1px);
}

/* Profile Action Footer Bar */
.profile-action-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.05);
}

.btn-save-profile {
  height: 48px;
  padding: 0 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-save-profile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-reset-profile {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-reset-profile:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ============================================================ */
/* 10. EXECUTIVE MODERN FOOTER                                  */
/* ============================================================ */
.main-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.03) !important;
  padding: 20px 32px 20px 280px !important;
  margin-top: 40px !important;
  position: relative !important;
  z-index: 1 !important;
  transition: all .5s !important;
}

body.sidebar-mini .main-footer {
  padding-left: 90px !important;
}

@media (max-width: 1024px) {
  .main-footer {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

.ess-footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.ess-footer-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ess-footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.2px;
}

.ess-footer-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: footerPulse 2s infinite;
}

@keyframes footerPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ess-footer-org {
  font-size: 13px;
  color: #334155;
  line-height: 1.4;
}

.ess-footer-org strong {
  color: #0f172a;
  font-weight: 700;
}

.ess-footer-org span {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.ess-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
}

.ess-footer-right a {
  color: #ea580c;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ess-footer-right a:hover {
  color: #c2410c;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .ess-footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

