/* ====================================================
   JP HOSPITAL - DYNAMIC ADMIN PANEL CSS
   ==================================================== */

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

:root {
  --admin-primary: #006666;
  --admin-primary-dark: #004d4d;
  --admin-primary-light: #008080;
  --admin-dark: #0f172a;
  --admin-sidebar: #061c1c;
  --admin-bg: #f8fafc;
  --admin-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #006666;
  --accent-gold: #f5b000;
  --status-pending: #f59e0b;
  --status-approved: #10b981;
  --status-cancelled: #ef4444;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--admin-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

/* ================= AUTH LOGIN SCREEN ================= */
.admin-login-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #004d4d 0%, #061c1c 100%);
  padding: 20px;
}

.login-card {
  background: var(--admin-card);
  width: 100%;
  max-width: 440px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
}

.login-logo {
  width: 64px;
  height: 64px;
  background: var(--admin-primary);
  color: var(--accent-gold);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 20px auto;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 102, 102, 0.3);
}

.login-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  color: var(--admin-dark);
  margin-bottom: 6px;
}

.login-card p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

/* ================= ADMIN LAYOUT & SIDEBAR ================= */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 270px;
  background: var(--admin-sidebar);
  color: #94a3b8;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
}

.sidebar-header {
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-header h3 {
  font-family: 'Outfit', sans-serif;
  color: #ffffff;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.sidebar-nav {
  padding: 18px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 5px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 1px solid transparent;
}

.nav-item i {
  font-size: 15px;
  width: 20px;
  text-align: center;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.nav-item.active {
  background: rgba(0, 102, 102, 0.5);
  color: #ffffff;
  border-color: rgba(245, 176, 0, 0.3);
}

.nav-item.active i {
  color: var(--accent-gold);
}

/* Main Content Area */
.admin-content {
  margin-left: 270px;
  flex: 1;
  padding: 32px 40px;
  max-width: calc(100vw - 270px);
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.content-header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--admin-dark);
}

/* ================= STATS CARDS ================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--admin-card);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.stat-info h3 {
  font-size: 26px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--admin-dark);
  margin-bottom: 2px;
}

.stat-info p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 102, 102, 0.1);
  color: var(--admin-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

/* ================= NOTIFICATIONS LIST ================= */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  max-height: 380px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid var(--admin-primary);
  transition: all 0.2s ease;
}

.notif-item:hover {
  background: #f1f5f9;
  transform: translateX(3px);
}

.notif-item.notif-career {
  border-left-color: #8b5cf6;
}

.notif-item.notif-enquiry {
  border-left-color: #ec4899;
}

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

.notif-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 102, 102, 0.1);
  color: var(--admin-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-item.notif-career .notif-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.notif-item.notif-enquiry .notif-icon {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.notif-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-main);
}

.notif-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.notif-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.notif-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.notif-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ================= TABLES & TABLE WRAPPER ================= */
.card-table-wrap {
  background: var(--admin-card);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 28px;
}

.card-header-actions {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.card-header-actions h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--admin-dark);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: #f8fafc;
  padding: 13px 18px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.custom-table td {
  padding: 14px 18px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

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

.table-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.table-thumb-round {
  border-radius: 50%;
}

.badge-status {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-block;
  text-transform: capitalize;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: #d97706;
}

.badge-approved {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.badge-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

/* ================= ACTION BUTTONS ================= */
.btn-primary-action {
  padding: 10px 20px;
  background: var(--admin-primary);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 102, 0.2);
}

.btn-primary-action:hover {
  background: var(--admin-primary-dark);
  transform: translateY(-1px);
}

.btn-top-live {
  padding: 10px 18px;
  background: var(--admin-primary);
  color: white;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}

.btn-top-live:hover {
  background: var(--admin-primary-dark);
}

.btn-export-csv {
  padding: 9px 16px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-export-csv:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.btn-submit-main {
  padding: 14px 28px;
  background: var(--admin-primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(0, 102, 102, 0.25);
  transition: all 0.2s ease;
}

.btn-submit-main:hover {
  background: var(--admin-primary-dark);
  transform: translateY(-1px);
}

.btn-cancel {
  padding: 10px 20px;
  background: #e2e8f0;
  color: #334155;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel:hover {
  background: #cbd5e1;
}

/* Small Action Buttons in Table Rows */
.btn-action-sm {
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-edit-sm {
  background: #e0f2fe;
  color: #0369a1;
}
.btn-edit-sm:hover {
  background: #0284c7;
  color: #ffffff;
}

.btn-approve-sm {
  background: #dcfce7;
  color: #15803d;
}
.btn-approve-sm:hover {
  background: #16a34a;
  color: #ffffff;
}

.btn-cancel-sm {
  background: #fee2e2;
  color: #b91c1c;
}
.btn-cancel-sm:hover {
  background: #dc2626;
  color: #ffffff;
}

.btn-del-sm {
  background: #f1f5f9;
  color: #64748b;
}
.btn-del-sm:hover {
  background: #ef4444;
  color: #ffffff;
}

.btn-icon-del {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #fee2e2;
  color: #dc2626;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-icon-del:hover {
  background: #ef4444;
  color: #ffffff;
}

/* ================= DUAL IMAGE INPUT WIDGET (UPLOAD FILE + URL + PREVIEW) ================= */
.dual-image-widget {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  margin-top: 6px;
}

.dual-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tab-btn {
  padding: 7px 14px;
  background: #e2e8f0;
  color: #475569;
  border: none;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--admin-primary);
  color: #ffffff;
}

.file-drop-zone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-drop-zone:hover {
  border-color: var(--admin-primary);
  background: #f0fdfa;
}

.file-drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-zone i {
  font-size: 26px;
  color: var(--admin-primary);
  margin-bottom: 6px;
  display: block;
}

.file-drop-zone p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.preview-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.preview-box img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.badge-preview {
  font-size: 11px;
  font-weight: 700;
  color: var(--admin-primary);
  background: rgba(0, 102, 102, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.logo-preview-box img {
  width: 120px;
  height: 48px;
  object-fit: contain;
}

.logo-preview-box.dark-bg {
  background: #061c1c;
}
.logo-preview-box.dark-bg .badge-preview {
  color: #f5b000;
  background: rgba(245, 176, 0, 0.15);
}

/* ================= SETTINGS FORM & SECTIONS ================= */
.settings-form-wrapper {
  max-width: 900px;
}

.settings-section-card {
  background: var(--admin-card);
  padding: 28px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
}

.section-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--admin-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-card-title i {
  color: var(--admin-primary);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  display: block;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}

.form-input:focus {
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 102, 0.15);
}

.form-input:disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #e2e8f0;
}

.field-hint {
  font-size: 11.5px;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* ================= SOCIAL CHANNELS TICK/CHECKBOX SYSTEM ================= */
.social-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 16px;
}

.social-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.25s ease;
}

.social-card.is-active {
  background: #ffffff;
  border-color: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.12);
}

.social-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.social-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
}

.social-brand i {
  font-size: 18px;
}

.social-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.status-indicator {
  font-size: 11.5px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
}

.social-card.is-active .status-indicator {
  color: #10b981;
}

/* Modern Switch Toggle */
.switch-tick {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch-tick input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-tick-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 24px;
}

.switch-tick-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.switch-tick input:checked + .switch-tick-slider {
  background-color: #10b981;
}

.switch-tick input:checked + .switch-tick-slider:before {
  transform: translateX(20px);
}

/* ================= MODAL STYLING ================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: white;
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content.modal-lg {
  max-width: 780px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: var(--admin-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-x {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close-x:hover {
  color: #ef4444;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ================= MOBILE & TABLET RESPONSIVE ADMIN ================= */
.admin-mobile-topbar {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--admin-sidebar);
  color: #ffffff;
  padding: 0 16px;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.admin-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.admin-mobile-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-mobile-brand .brand-badge {
  background: var(--admin-primary);
  color: var(--accent-gold);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.admin-mobile-brand small {
  color: var(--accent-gold);
  font-size: 12px;
}

.admin-view-site-sm {
  color: #ffffff;
  font-size: 18px;
  text-decoration: none;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

@media (max-width: 1024px) {
  .admin-mobile-topbar {
    display: flex;
  }
  .admin-sidebar {
    transform: translateX(-100%);
    top: 60px;
  }
  .admin-sidebar.active {
    transform: translateX(0);
  }
  .admin-sidebar-backdrop.active {
    display: block;
  }
  .admin-content {
    margin-left: 0;
    padding: 80px 20px 40px 20px;
    max-width: 100vw;
  }
  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
  .social-channels-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= PERSISTENT TOP NAVBAR & ROLE HEADER (MATCHING SCREENSHOT 1) ================= */
.admin-top-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--admin-card);
  padding: 14px 24px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  margin-bottom: 24px;
  position: relative;
  z-index: 90;
}

.admin-top-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-top-greeting {
  display: flex;
  flex-direction: column;
}

.greeting-role {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.greeting-user {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--admin-dark);
}

.admin-top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Notification Bell Container & Button (Screenshot 1) */
.notif-bell-container {
  position: relative;
}

.notif-bell-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #005a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.notif-bell-btn:hover {
  background: #f0fdfa;
  border-color: #006666;
  color: #006666;
  transform: translateY(-1px);
}

.notif-badge-pill {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45);
}

.notif-badge-pill.empty {
  display: none;
}

/* Notification Popover Dropdown */
.notif-dropdown-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: -40px;
  width: 380px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.18), 0 0 1px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  overflow: hidden;
  animation: notifFadeIn 0.2s ease-out;
}

@keyframes notifFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.notif-popover-head {
  padding: 14px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.notif-popover-head h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--admin-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-live-stream {
  font-size: 10.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  padding: 3px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.notif-popover-list {
  max-height: 380px;
  overflow-y: auto;
}

.notif-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.15s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.notif-item:hover {
  background: #f8fafc;
}

.notif-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.notif-icon-appt {
  background: #e0f2fe;
  color: #0284c7;
}

.notif-icon-msg {
  background: #fef3c7;
  color: #d97706;
}

.notif-icon-job {
  background: #f3e8ff;
  color: #9333ea;
}

.notif-icon-wa {
  background: #dcfce7;
  color: #16a34a;
}

.notif-item-body {
  flex: 1;
}

.notif-item-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 2px;
}

.notif-item-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 4px;
}

.notif-item-time {
  font-size: 10.5px;
  color: #94a3b8;
  font-weight: 600;
}

.notif-popover-foot {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.notif-popover-foot button {
  background: none;
  border: none;
  color: var(--admin-primary);
  font-weight: 700;
  font-size: 12.5px;
  cursor: pointer;
}

/* View Website Button (Screenshot 1) */
.admin-view-website-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b4f6c;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
  background: rgba(11, 79, 108, 0.05);
}

.admin-view-website-btn:hover {
  background: rgba(11, 79, 108, 0.12);
  color: #00364e;
}

.admin-view-website-btn i {
  font-size: 16px;
}

/* Role Indicator (Screenshot 1) */
.admin-role-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.role-separator {
  color: #94a3b8;
  font-weight: 300;
  font-size: 18px;
  margin: 0 4px;
}

.role-text-lbl {
  color: #64748b;
  font-weight: 600;
  font-size: 13.5px;
}

.role-text-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #0b4f6c;
  letter-spacing: 0.6px;
  font-size: 13.5px;
  text-transform: uppercase;
}

/* Role login guide */
.role-guide-card {
  margin-top: 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
}

.role-guide-card h4 {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  font-size: 12px;
}

.role-badge-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
}

.role-tag-super {
  background: #fee2e2;
  color: #dc2626;
}

.role-tag-admin {
  background: #dbeafe;
  color: #2563eb;
}

.role-tag-staff {
  background: #d1fae5;
  color: #059669;
}

/* Staff restricted hiding */
.restricted-for-staff.is-staff-hidden {
  display: none !important;
}

/* ================= CATEGORIES MANAGER STYLES ================= */
.categories-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.cat-admin-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cat-admin-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.cat-admin-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 102, 102, 0.1);
  color: var(--admin-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}

.cat-admin-title {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--admin-dark);
  margin-bottom: 4px;
}

.cat-admin-hindi {
  font-size: 13px;
  color: var(--admin-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.cat-admin-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 14px;
}

/* ================= TPA & CASHLESS ADMIN STYLES ================= */
.tpa-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.tpa-admin-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  position: relative;
}

.tpa-rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #006666;
  color: #f5b000;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
}

.tpa-admin-logo-box {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  padding: 10px;
}

.tpa-admin-logo-box img {
  max-height: 50px;
  max-width: 100%;
  object-fit: contain;
}

/* ================= TESTIMONIALS ADMIN STYLES ================= */
.testimonials-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.testimonial-admin-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.testi-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testi-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #006666;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testi-badge-verif {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  padding: 2px 8px;
  border-radius: 4px;
}

.testi-stars {
  color: #f59e0b;
  font-size: 13px;
  margin: 6px 0;
}

