/**
 * ArmyStudy Staff Portal - Scoped Design System
 * Subdomain: staff.armystudy.in
 * All classes and variables strictly scoped with .as-* and --as-*
 */

:root {
  --as-font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --as-font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Primary Brand - Army Navy & Royal Indigo */
  --as-primary: #1E3A8A;
  --as-primary-hover: #172554;
  --as-primary-subtle: #EEF2FF;
  --as-primary-light: #E0E7FF;
  --as-primary-text: #1E3A8A;

  /* Accent - Gold / Amber */
  --as-accent: #D97706;
  --as-accent-hover: #B45309;
  --as-accent-subtle: #FEF3C7;

  /* Neutrals */
  --as-bg: #F8FAFC;
  --as-card-bg: #FFFFFF;
  --as-sidebar-bg: #0F172A;
  --as-sidebar-hover: rgba(255, 255, 255, 0.08);
  --as-sidebar-active: #2563EB;
  --as-border: #E2E8F0;
  --as-border-subtle: #F1F5F9;

  /* Typography */
  --as-text-main: #0F172A;
  --as-text-muted: #64748B;
  --as-text-subtle: #94A3B8;

  /* Semantic Alerts */
  --as-success: #10B981;
  --as-success-bg: #ECFDF5;
  --as-success-text: #065F46;
  --as-warning: #F59E0B;
  --as-warning-bg: #FFFBEB;
  --as-warning-text: #92400E;
  --as-danger: #EF4444;
  --as-danger-bg: #FEF2F2;
  --as-danger-text: #991B1B;
  --as-info: #0284C7;
  --as-info-bg: #F0F9FF;
  --as-info-text: #075985;

  /* Soft Rounded Radii */
  --as-radius-sm: 8px;
  --as-radius-md: 12px;
  --as-radius-lg: 16px;
  --as-radius-xl: 20px;
  --as-radius-full: 9999px;

  /* Shadows */
  --as-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --as-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --as-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --as-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --as-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Box Sizing for Portal */
.as-body-wrapper {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--as-font-body);
  background-color: var(--as-bg);
  color: var(--as-text-main);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.as-body-wrapper *,
.as-body-wrapper *::before,
.as-body-wrapper *::after {
  box-sizing: border-box;
}

/* App Shell Layout */
.as-app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
}

/* Sidebar Navigation (Desktop) */
.as-sidebar {
  width: 260px;
  background: var(--as-sidebar-bg);
  color: #F8FAFC;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: var(--as-transition);
  z-index: 100;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.08);
}

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

.as-brand-logo {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #2563EB, #1E3A8A);
  color: #FFFFFF;
  border-radius: var(--as-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.as-brand-text h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--as-font-heading);
  color: #FFFFFF;
  letter-spacing: -0.3px;
}

.as-brand-text p {
  margin: 0;
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.as-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #94A3B8;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--as-radius-md);
  transition: var(--as-transition);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
}

.as-nav-item:hover {
  background: var(--as-sidebar-hover);
  color: #FFFFFF;
}

.as-nav-item.as-active {
  background: var(--as-sidebar-active);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.as-nav-icon {
  font-size: 18px;
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.as-sidebar-footer {
  padding: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.as-user-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.as-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--as-radius-full);
  background: #3B82F6;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.as-user-info-text {
  overflow: hidden;
}

.as-user-name {
  font-weight: 600;
  font-size: 13px;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.as-user-role-badge {
  font-size: 10px;
  color: #93C5FD;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Main Content Area */
.as-main-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-x: hidden;
}

/* Top Navigation Bar */
.as-topbar {
  background: var(--as-card-bg);
  height: 68px;
  border-bottom: 1px solid var(--as-border);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: var(--as-shadow-sm);
}

.as-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.as-page-title {
  font-family: var(--as-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--as-text-main);
  margin: 0;
}

.as-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.as-mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--as-border);
  padding: 8px 10px;
  border-radius: var(--as-radius-sm);
  cursor: pointer;
  font-size: 18px;
}

/* Content Canvas */
.as-content-area {
  padding: 28px;
  flex: 1;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

/* Soft Cards */
.as-card {
  background: var(--as-card-bg);
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-lg);
  box-shadow: var(--as-shadow-sm);
  padding: 24px;
  margin-bottom: 24px;
  transition: var(--as-transition);
}

.as-card:hover {
  box-shadow: var(--as-shadow-md);
}

.as-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.as-card-title {
  font-family: var(--as-font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--as-text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Metric / Stat Cards Grid */
.as-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.as-stat-card {
  background: var(--as-card-bg);
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--as-shadow-sm);
  transition: var(--as-transition);
}

.as-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--as-shadow-md);
}

.as-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--as-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.as-stat-info {
  flex: 1;
}

.as-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--as-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.as-stat-value {
  font-family: var(--as-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--as-text-main);
  line-height: 1.1;
}

.as-stat-subtext {
  font-size: 11px;
  color: var(--as-text-subtle);
  margin-top: 4px;
}

/* Buttons */
.as-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--as-radius-md);
  cursor: pointer;
  transition: var(--as-transition);
  border: 1px solid transparent;
  text-decoration: none;
  min-height: 42px;
  user-select: none;
  font-family: var(--as-font-body);
}

.as-btn:active {
  transform: scale(0.98);
}

.as-btn-primary {
  background: var(--as-primary);
  color: #FFFFFF;
}

.as-btn-primary:hover {
  background: var(--as-primary-hover);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.as-btn-success {
  background: var(--as-success);
  color: #FFFFFF;
}

.as-btn-success:hover {
  background: #059669;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.as-btn-warning {
  background: var(--as-warning);
  color: #FFFFFF;
}

.as-btn-warning:hover {
  background: #D97706;
}

.as-btn-danger {
  background: var(--as-danger);
  color: #FFFFFF;
}

.as-btn-danger:hover {
  background: #DC2626;
}

.as-btn-outline {
  background: transparent;
  border-color: var(--as-border);
  color: var(--as-text-main);
}

.as-btn-outline:hover {
  background: var(--as-border-subtle);
  border-color: #CBD5E1;
}

.as-btn-sm {
  padding: 6px 12px;
  font-size: 12px;
  min-height: 32px;
  border-radius: var(--as-radius-sm);
}

.as-btn-lg {
  padding: 14px 24px;
  font-size: 16px;
  min-height: 50px;
  border-radius: var(--as-radius-lg);
}

/* Punch Card Highlight */
.as-punch-container {
  background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
  color: #FFFFFF;
  border-radius: var(--as-radius-xl);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 10px 25px rgba(30, 58, 138, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.as-punch-clock {
  font-family: var(--as-font-heading);
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}

.as-punch-date {
  font-size: 14px;
  color: #BFDBFE;
  margin-top: 6px;
}

.as-punch-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Progress Bar for Tenure / Increment */
.as-progress-wrap {
  width: 100%;
  background: #E2E8F0;
  border-radius: var(--as-radius-full);
  height: 12px;
  overflow: hidden;
  margin: 12px 0;
}

.as-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #2563EB, #10B981);
  border-radius: var(--as-radius-full);
  transition: width 0.6s ease-in-out;
}

/* Tables */
.as-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--as-radius-md);
  border: 1px solid var(--as-border);
}

.as-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
  background: var(--as-card-bg);
}

.as-table th {
  background: #F8FAFC;
  padding: 14px 16px;
  font-weight: 700;
  color: var(--as-text-muted);
  border-bottom: 1px solid var(--as-border);
  white-space: nowrap;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.as-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--as-border-subtle);
  color: var(--as-text-main);
  vertical-align: middle;
}

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

.as-table tbody tr:hover {
  background-color: #F8FAFC;
}

/* Status Badges */
.as-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--as-radius-full);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
}

.as-badge-success {
  background: var(--as-success-bg);
  color: var(--as-success-text);
  border: 1px solid #A7F3D0;
}

.as-badge-warning {
  background: var(--as-warning-bg);
  color: var(--as-warning-text);
  border: 1px solid #FDE68A;
}

.as-badge-danger {
  background: var(--as-danger-bg);
  color: var(--as-danger-text);
  border: 1px solid #FECACA;
}

.as-badge-info {
  background: var(--as-info-bg);
  color: var(--as-info-text);
  border: 1px solid #BAE6FD;
}

.as-badge-secondary {
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #E2E8F0;
}

/* Forms & Inputs */
.as-form-group {
  margin-bottom: 18px;
}

.as-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--as-text-main);
  margin-bottom: 6px;
}

.as-input,
.as-select,
.as-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-md);
  background: var(--as-card-bg);
  color: var(--as-text-main);
  font-family: var(--as-font-body);
  transition: var(--as-transition);
  outline: none;
}

.as-input:focus,
.as-select:focus,
.as-textarea:focus {
  border-color: var(--as-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.as-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* Modal Dialog */
.as-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: asFadeIn 0.2s ease-out;
}

.as-modal-dialog {
  background: var(--as-card-bg);
  border-radius: var(--as-radius-lg);
  box-shadow: var(--as-shadow-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: asSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.as-modal-title {
  font-family: var(--as-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--as-text-main);
  margin: 0;
}

.as-modal-close {
  background: transparent;
  border: none;
  font-size: 20px;
  color: var(--as-text-muted);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: var(--as-radius-sm);
}

.as-modal-close:hover {
  color: var(--as-text-main);
  background: var(--as-border-subtle);
}

.as-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.as-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--as-border);
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Toast Notifications */
.as-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.as-toast {
  pointer-events: auto;
  background: #FFFFFF;
  border-radius: var(--as-radius-md);
  box-shadow: var(--as-shadow-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  max-width: 420px;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 4px solid var(--as-primary);
  animation: asToastSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.as-toast-success {
  border-left-color: var(--as-success);
}

.as-toast-error {
  border-left-color: var(--as-danger);
}

.as-toast-warning {
  border-left-color: var(--as-warning);
}

/* Login Page UI */
.as-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
}

.as-login-card {
  background: #FFFFFF;
  border-radius: var(--as-radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 440px;
  padding: 40px 36px;
}

.as-login-header {
  text-align: center;
  margin-bottom: 28px;
}

.as-login-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #2563EB, #1E3A8A);
  color: #FFFFFF;
  border-radius: var(--as-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 24px;
  margin: 0 auto 16px;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.as-login-title {
  font-family: var(--as-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--as-text-main);
  margin: 0 0 6px;
}

.as-login-subtitle {
  font-size: 13px;
  color: var(--as-text-muted);
  margin: 0;
}

/* Mobile Bottom Navigation Bar */
.as-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--as-card-bg);
  border-top: 1px solid var(--as-border);
  height: 62px;
  z-index: 95;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  padding: 0 8px;
}

.as-bottom-nav-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-around;
}

.as-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--as-text-muted);
  font-size: 10px;
  font-weight: 600;
  gap: 3px;
  padding: 6px 12px;
  border-radius: var(--as-radius-md);
  border: none;
  background: transparent;
  cursor: pointer;
}

.as-bottom-item.as-active {
  color: var(--as-primary);
}

.as-bottom-icon {
  font-size: 19px;
}

/* Animations */
@keyframes asFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes asToastSlide {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =======================================================
   RESPONSIVE DESIGN (100% Mobile & Tablet Priority)
   ======================================================= */
@media (max-width: 900px) {
  .as-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: -270px;
    z-index: 1100;
  }

  .as-sidebar.as-mobile-open {
    left: 0;
  }

  .as-mobile-toggle {
    display: block;
  }

  .as-bottom-nav {
    display: block;
  }

  .as-content-area {
    padding: 16px 16px 80px 16px; /* Extra bottom padding for bottom nav */
  }

  .as-topbar {
    padding: 0 16px;
    height: 60px;
  }

  .as-page-title {
    font-size: 18px;
  }

  .as-punch-container {
    padding: 20px;
  }

  .as-punch-clock {
    font-size: 32px;
  }

  .as-toast-container {
    left: 16px;
    right: 16px;
    top: 16px;
  }

  .as-toast {
    min-width: unset;
    width: 100%;
  }

  .as-login-card {
    padding: 28px 20px;
  }
}

@media (max-width: 600px) {
  .as-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .as-punch-actions {
    width: 100%;
  }

  .as-punch-actions .as-btn {
    flex: 1;
  }

  .as-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .as-modal-dialog {
    margin: 10px;
    max-height: 94vh;
  }
}

/* Tab Navigation System */
.as-tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--as-border-subtle);
  margin-bottom: 20px;
  overflow-x: auto;
}

.as-tab-btn {
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--as-text-muted);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: var(--as-transition);
}

.as-tab-btn:hover {
  color: var(--as-primary);
}

.as-tab-btn.as-active {
  color: var(--as-primary);
  border-bottom-color: var(--as-primary);
}

.as-tab-pane {
  display: none;
}

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

/* Printable Salary Slip Styles */
.as-payslip-sheet {
  background: #FFFFFF;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-md);
  padding: 32px;
  color: #0F172A;
  font-family: var(--as-font-body);
}

.as-payslip-header {
  text-align: center;
  border-bottom: 2px solid #1E3A8A;
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.as-payslip-logo-title {
  font-family: var(--as-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #1E3A8A;
  margin: 0;
}

.as-payslip-sub {
  font-size: 12px;
  color: var(--as-text-muted);
  margin: 4px 0 0;
}

.as-payslip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
  background: #F8FAFC;
  padding: 14px 18px;
  border-radius: var(--as-radius-sm);
  border: 1px solid var(--as-border);
}

.as-payslip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 20px;
}

.as-payslip-table th, .as-payslip-table td {
  border: 1px solid var(--as-border);
  padding: 10px 14px;
}

.as-payslip-table th {
  background: #F1F5F9;
  font-weight: 700;
}

.as-payslip-net {
  background: #EEF2FF;
  border: 2px solid #2563EB;
  border-radius: var(--as-radius-md);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #1E3A8A;
}

/* Bulk Checklist */
.as-check-list {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--as-border);
  border-radius: var(--as-radius-md);
  padding: 10px;
  background: #F8FAFC;
}

.as-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--as-radius-sm);
  background: #FFFFFF;
  margin-bottom: 6px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--as-border-subtle);
}

.as-check-item:hover {
  background: #F1F5F9;
}

@media print {
  body * {
    visibility: hidden;
  }
  .as-payslip-sheet, .as-payslip-sheet * {
    visibility: visible;
  }
  .as-payslip-sheet {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    border: none;
    padding: 0;
  }
}
