:root {
  --theme-dark: #1e3a5f;
  --theme-primary: #2563eb;
  --theme-primary-hover: #1d4ed8;
  --theme-accent: #0ea5e9;
  --theme-surface: #ffffff;
  --theme-bg: #f8fafc;
  --theme-bg-soft: #f1f5f9;
  --theme-text: #0f172a;
  --theme-text-muted: #64748b;
  --theme-border: #e2e8f0;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 28px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
  --btn-success: #10b981;
  --btn-success-hover: #059669;
  --btn-danger: #ef4444;
  --btn-danger-hover: #dc2626;
  --btn-warning: #f97316;
  --btn-warning-hover: #ea580c;
}

/* ========== Standardized Button System ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
}

/* Primary - main actions */
.btn-primary, .btn-submit, .btn-new-request, .btn-edit-profile, .btn-new-template {
  background: var(--theme-primary) !important;
  border-color: var(--theme-primary) !important;
  color: white !important;
}

.btn-primary:hover:not(:disabled), .btn-submit:hover:not(:disabled),
.btn-new-request:hover, .btn-edit-profile:hover, .btn-new-template:hover {
  background: var(--theme-primary-hover) !important;
  border-color: var(--theme-primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Secondary - cancel, close, low emphasis */
.btn-secondary, .btn-cancel {
  background: var(--theme-bg-soft) !important;
  border: 1px solid var(--theme-border) !important;
  color: var(--theme-text) !important;
}

.btn-secondary:hover:not(:disabled), .btn-cancel:hover {
  background: var(--theme-border) !important;
  border-color: #cbd5e1 !important;
}

/* Success - approve */
.btn-success {
  background: var(--btn-success) !important;
  border-color: var(--btn-success) !important;
  color: white !important;
}

.btn-success:hover:not(:disabled) {
  background: var(--btn-success-hover) !important;
  border-color: var(--btn-success-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Danger - reject, remove */
.btn-danger {
  background: var(--btn-danger) !important;
  border-color: var(--btn-danger) !important;
  color: white !important;
}

.btn-danger:hover:not(:disabled) {
  background: var(--btn-danger-hover) !important;
  border-color: var(--btn-danger-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

/* Warning - push back */
.btn-warning {
  background: var(--btn-warning) !important;
  border-color: var(--btn-warning) !important;
  color: white !important;
}

.btn-warning:hover:not(:disabled) {
  background: var(--btn-warning-hover) !important;
  border-color: var(--btn-warning-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

/* Outline variants */
.btn-outline-primary, .btn-view, .btn-view-approval, .btn-view-request {
  background: transparent !important;
  color: var(--theme-primary) !important;
  border: 1px solid var(--theme-primary) !important;
}

.btn-outline-primary:hover:not(:disabled), .btn-view:hover, .btn-view-approval:hover, .btn-view-request:hover {
  background: var(--theme-primary) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline-secondary {
  background: transparent !important;
  color: var(--theme-text-muted) !important;
  border: 1px solid var(--theme-border) !important;
}

.btn-outline-secondary:hover:not(:disabled) {
  background: var(--theme-bg-soft) !important;
  color: var(--theme-text) !important;
  border-color: #cbd5e1 !important;
}

.btn-outline-danger {
  background: transparent !important;
  color: var(--btn-danger) !important;
  border: 1px solid var(--btn-danger) !important;
}

.btn-outline-danger:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.08) !important;
  color: var(--btn-danger-hover) !important;
  border-color: var(--btn-danger-hover) !important;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .form-control:focus, .form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
  background: var(--theme-bg);
  min-height: 100vh;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--theme-text);
  -webkit-font-smoothing: antialiased;
}

/* Remove default container padding */
.container {
  max-width: 100%;
  padding: 0;
}

/* Dashboard Wrapper */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: transparent;
}

/* Sidebar Styles */
.sidebar {
  width: 260px;
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
  border-right: none;
  display: flex;
  flex-direction: column;
  transition: width 0.3s ease;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.08);
}

.sidebar.collapsed {
  width: 70px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: white;
}

.sidebar-header .user-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.sidebar-header .user-greeting .greeting-text {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar-header .user-greeting .user-fullname {
  color: white;
}

.sidebar-header .menu-toggle {
  color: white;
}

.sidebar-header .menu-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

.sidebar-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.user-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.user-greeting {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.greeting-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  line-height: 1.2;
}

.user-fullname {
  font-size: 15px;
  font-weight: 600;
  color: white;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar.collapsed .user-greeting {
  display: none;
}

.sidebar.collapsed .sidebar-user-info {
  justify-content: center;
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.9);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle:hover {
  color: white;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
}

.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.logout-item {
  color: rgba(255, 255, 255, 0.7) !important;
}

.logout-item:hover {
  background-color: rgba(239, 68, 68, 0.2);
  color: #fecaca !important;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
  font-weight: 500;
  margin: 2px 12px;
  border-radius: 10px;
}

.nav-subitem {
  display: flex;
  align-items: center;
  padding: 10px 24px 10px 56px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 13px;
  border-left: 3px solid transparent;
  background-color: transparent;
  margin: 2px 12px;
  border-radius: 8px;
}

.nav-subitem:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-subitem.active {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  border-left-color: var(--theme-accent);
  font-weight: 600;
}

.nav-subitem svg {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.sidebar.collapsed .nav-subitem {
  display: none;
}

.nav-item svg {
  margin-right: 12px;
  width: 20px;
  height: 20px;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: white;
}

.nav-item.active {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  border-left-color: var(--theme-accent);
  font-weight: 600;
}

.sidebar.collapsed .nav-item span {
  display: none;
}

.sidebar.collapsed .nav-item svg {
  margin-right: 0;
}


.user-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.user-icon-link:hover {
  transform: scale(1.1);
}

.user-icon-link .user-icon {
  cursor: pointer;
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  gap: 24px;
  padding: 28px 32px;
  overflow-x: auto;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #e8eef4 100%);
}

/* Dashboard Panel */
.dashboard-panel,
.my-requests-panel,
.approvals-panel {
  flex: 1;
  min-width: 400px;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
}

.dashboard-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.dashboard-subtitle {
  font-size: 14px;
  color: var(--theme-text-muted);
  margin-bottom: 28px;
}

/* Summary Cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.summary-section-label {
  grid-column: 1 / -1;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 4px 0;
}

.summary-section-label:not(:first-child) {
  margin-top: 16px;
}

.summary-card {
  background: var(--theme-surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
  transition: transform var(--transition), box-shadow var(--transition);
}

.summary-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.filter-card {
  cursor: pointer;
}

.filter-card.active {
  outline: 3px solid var(--theme-primary);
  outline-offset: 2px;
}

.card-all {
  background: linear-gradient(145deg, #64748b 0%, #475569 50%, #334155 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(100, 116, 139, 0.35);
}

.card-pending, .card-pending-requests {
  background: linear-gradient(145deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.card-approved {
  background: linear-gradient(145deg, #10b981 0%, #059669 50%, #047857 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.card-rejected {
  background: linear-gradient(145deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35);
}

.card-cancelled {
  background: linear-gradient(145deg, #6b7280 0%, #4b5563 50%, #374151 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(107, 114, 128, 0.35);
}

.card-pushback {
  background: linear-gradient(145deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.card-inprogress {
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.card-approvals {
  background: linear-gradient(145deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}

.summary-card-clickable {
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.summary-card-clickable:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  opacity: 0.9;
}

.card-value {
  font-size: 32px;
  font-weight: 700;
}

/* Recent Requests */
/* License Info Banner */
.license-info-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 18px;
  background: var(--theme-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--theme-border);
  font-size: 14px;
}

.license-label {
  font-weight: 600;
  color: var(--theme-text-muted);
}

.license-code {
  font-weight: 600;
  color: var(--theme-primary);
  font-family: monospace;
}

.license-sep {
  color: var(--theme-border);
}

.license-expiry {
  color: var(--theme-text);
}

/* Dashboard Charts */
.dashboard-charts-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.dashboard-chart-section {
  padding: 24px;
  background: var(--theme-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
}

.chart-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0 0 20px 0;
}

.chart-container {
  max-width: 320px;
  margin: 0 auto;
}

.recent-requests {
  margin-top: 30px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--theme-bg-soft);
  border-radius: 10px;
  padding: 10px 14px;
  gap: 10px;
  border: 1px solid var(--theme-border);
}

.search-box svg {
  color: var(--theme-text-muted);
}

.search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 14px;
  width: 200px;
}

.requests-table {
  width: 100%;
  border-collapse: collapse;
}

.requests-table thead {
  background: var(--theme-bg-soft);
}

.requests-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid var(--theme-border);
}

.requests-table td {
  padding: 16px;
  border-bottom: 1px solid var(--theme-border);
  font-size: 14px;
  color: var(--theme-text);
}

.requests-table tbody tr {
  cursor: pointer;
  transition: background-color 0.2s;
}

.requests-table tbody tr:hover {
  background: var(--theme-bg);
}

.requests-table tbody tr.selected {
  background: #eff6ff;
}

.status-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-pending {
  background: #fef3c7;
  color: #b45309;
}

.status-approved {
  background: #d1fae5;
  color: #047857;
}

.status-rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.status-pushback {
  background: #ffedd5;
  color: #c2410c;
}

.status-inprogress {
  background: #dbeafe;
  color: #1d4ed8;
}

.status-cancelled {
  background: #e5e7eb;
  color: #4b5563;
}

/* Form Panel */
.form-panel {
  width: 350px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.panel-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.panel-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  transition: all var(--transition);
  background: var(--theme-surface);
}

.form-control:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.form-actions .btn {
  flex: none;
}

/* Approval Panel */
.approval-panel {
  width: 350px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: fit-content;
}

.request-summary {
  background-color: #f5f5f5;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 20px;
}

.summary-item {
  font-size: 14px;
  color: #333;
  margin-bottom: 8px;
}

.summary-item:last-child {
  margin-bottom: 0;
}

.summary-item strong {
  color: #666;
}

.request-details {
  margin-bottom: 25px;
}

.request-details h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.detail-item {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.detail-item strong {
  color: #666;
  display: inline-block;
  min-width: 100px;
}

.approval-history {
  margin-bottom: 25px;
}

.approval-history h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}

.history-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.history-content {
  flex: 1;
}

.history-step {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.history-meta {
  font-size: 12px;
  color: #666;
}

.approval-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Modal Styles - Global */
.modal-content {
  border-radius: var(--radius-lg);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: 1px solid var(--theme-border);
  padding: 24px 28px;
  background: var(--theme-bg);
}

.modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.modal-body {
  padding: 28px;
}

.modal-footer {
  border-top: 1px solid var(--theme-border);
  padding: 20px 28px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  background: var(--theme-bg);
}

/* Approval Modal Styles */
#approvalModal .modal-content,
#approvalDetailModal .modal-content,
#requestDetailModal .modal-content {
  border-radius: var(--radius-lg);
  border: 1px solid var(--theme-border);
  box-shadow: var(--shadow-lg);
}

#approvalModal .modal-header,
#approvalDetailModal .modal-header,
#requestDetailModal .modal-header {
  border-bottom: 1px solid var(--theme-border);
  padding: 24px 28px;
  background: var(--theme-bg);
}

#approvalModal .modal-title,
#approvalDetailModal .modal-title,
#requestDetailModal .modal-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

#approvalModal .modal-body,
#approvalDetailModal .modal-body,
#requestDetailModal .modal-body {
  padding: 28px;
}

#approvalModal .modal-footer,
#approvalDetailModal .modal-footer,
#requestDetailModal .modal-footer {
  border-top: 1px solid var(--theme-border);
  padding: 20px 28px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  background: var(--theme-bg);
}

.modal-footer .btn {
  flex: none;
}

#approvalModal .request-summary,
#approvalDetailModal .request-summary,
#requestDetailModal .request-summary,
.modal-body .request-summary {
  background: var(--theme-bg-soft);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid var(--theme-border);
}

.modal-body .bg-light,
.modal-body .border.rounded {
  background: var(--theme-bg-soft) !important;
  border-color: var(--theme-border) !important;
  border-radius: var(--radius-sm);
}

#approvalModal .request-details {
  margin-bottom: 25px;
}

#approvalModal .approval-history {
  margin-bottom: 0;
}

/* Request Details Modal - Beautified */
#requestDetailModal .modal-dialog {
  max-width: 880px;
}

#requestDetailModal .modal-footer {
  justify-content: flex-end;
}

.request-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.request-detail-summary {
  background: var(--theme-bg);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--theme-border);
}

.request-detail-summary .detail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-border);
  font-size: 14px;
}

.request-detail-summary .detail-row:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.request-detail-summary .detail-label {
  font-weight: 600;
  color: var(--theme-text-muted);
  min-width: 100px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.request-detail-summary .detail-value {
  color: var(--theme-text);
}

.request-detail-summary .detail-muted {
  color: var(--theme-text-muted);
  font-size: 13px;
}

.detail-row-status .detail-value {
  min-width: 0;
}

.detail-pushback-card {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  padding: 16px;
  margin-top: 8px;
}

.detail-pushback-card .detail-row {
  padding: 0 0 10px 0;
  border: none;
}

.pushback-remarks {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #fed7aa;
}

.pushback-remarks .detail-label {
  display: block;
  margin-bottom: 6px;
}

.pushback-remarks-text {
  background: white;
  border-radius: var(--radius-sm);
  padding: 12px;
  font-size: 14px;
  color: var(--theme-text);
  white-space: pre-wrap;
  border: 1px solid var(--theme-border);
}


.request-detail-attachment {
  grid-column: 1 / -1;
}

.detail-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 10px 0;
}

.formdata-panel {
  background: var(--theme-bg-soft);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius);
  padding: 20px;
}

.formdata-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--theme-border);
  font-size: 14px;
}

.formdata-item:last-child {
  border-bottom: none;
}

.formdata-label {
  font-weight: 600;
  color: var(--theme-text-muted);
  min-width: 140px;
  flex-shrink: 0;
}

.formdata-value {
  color: var(--theme-text);
  word-break: break-word;
}

.formdata-empty {
  color: var(--theme-text-muted);
  font-style: italic;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 640px) {
  .request-detail-content {
    grid-template-columns: 1fr;
  }
  
  .detail-pushback-card {
    grid-column: 1;
  }
}

/* Hide default header and footer */
header, footer {
  display: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .main-content {
    flex-direction: column;
  }
  
  .form-panel,
  .approval-panel {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -250px;
    z-index: 1000;
    height: 100vh;
  }
  
  .sidebar.show {
    left: 0;
  }
  
  .main-content {
    margin-left: 0;
    padding: 15px;
  }
  
  .summary-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Login Page Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f0f9ff 0%, #e0f2fe 25%, #bae6fd 50%, #7dd3fc 100%);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: var(--theme-surface);
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5);
  padding: 48px 44px 40px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 1;
}

.login-header {
  text-align: center;
  margin-bottom: 36px;
}

.login-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: linear-gradient(145deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35);
}

.login-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--theme-text);
  margin: 0 0 6px 0;
  letter-spacing: -0.03em;
}

.login-subtitle {
  font-size: 16px;
  color: var(--theme-text-muted);
  margin: 0;
  font-weight: 500;
}

.login-card .form-group {
  margin-bottom: 24px;
}

.login-card .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.login-card .input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.login-card .input-icon {
  position: absolute;
  left: 16px;
  color: var(--theme-text-muted);
  pointer-events: none;
  z-index: 1;
  transition: color var(--transition);
}

.login-card .form-control {
  width: 100%;
  padding: 14px 48px 14px 48px;
  border: 1px solid var(--theme-border);
  border-radius: 12px;
  font-size: 15px;
  transition: all var(--transition);
  background: var(--theme-surface);
}

.login-card .form-control::placeholder {
  color: #94a3b8;
}

.login-card .form-control:hover:not(:focus) {
  border-color: #cbd5e1;
}

.login-card .form-control:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.login-card .input-with-icon.focused .input-icon {
  color: var(--theme-primary);
}

.login-card .password-toggle {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--theme-text-muted);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.login-card .password-toggle:hover {
  color: var(--theme-primary);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.login-card .checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: var(--theme-text-muted);
  font-weight: 500;
}

.login-card .checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  cursor: pointer;
  accent-color: var(--theme-primary);
}

.login-card .forgot-password {
  font-size: 14px;
  color: var(--theme-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}

.login-card .forgot-password:hover {
  color: var(--theme-primary-hover);
}

.btn-login {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.btn-login:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-login:active:not(:disabled) {
  transform: translateY(0);
}

.btn-login:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.login-divider {
  text-align: center;
  margin: 24px 0;
  position: relative;
}

.login-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #e0e0e0;
}

.login-divider span {
  position: relative;
  background-color: #ffffff;
  padding: 0 16px;
  color: #666;
  font-size: 14px;
}

.social-login {
  margin-bottom: 24px;
}

.btn-social {
  width: 100%;
  padding: 12px;
  background-color: #ffffff;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-social:hover {
  background-color: #f5f5f5;
  border-color: #d0d0d0;
}

.btn-social svg {
  color: #1976d2;
}

.login-footer {
  text-align: center;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--theme-border);
}

.login-footer p {
  margin: 0;
  font-size: 14px;
  color: var(--theme-text-muted);
}

.login-footer a {
  color: var(--theme-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.login-footer a:hover {
  color: var(--theme-primary-hover);
}

.text-danger,
.login-card .text-danger {
  color: #dc2626;
  font-size: 12px;
  margin-top: 6px;
  display: block;
}

.login-card .alert {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
  font-size: 14px;
}

.login-card .alert-danger {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

/* Responsive Login */
@media (max-width: 480px) {
  .login-card {
    padding: 36px 24px 32px;
  }

  .login-title {
    font-size: 24px;
  }

  .login-logo {
    width: 68px;
    height: 68px;
  }
}

/* My Requests Page Styles */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-text);
  margin: 0;
  letter-spacing: -0.02em;
}

.btn-new-request svg {
  width: 16px;
  height: 16px;
}

.recent-submissions {
  margin-top: 30px;
}

.recent-submissions .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.recent-submissions .section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.submissions-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
}

.submissions-table thead tr:first-child th:first-child {
  border-top-left-radius: var(--radius);
}

.submissions-table thead tr:first-child th:last-child {
  border-top-right-radius: var(--radius);
}

.submissions-table thead {
  background: var(--theme-bg-soft);
}

.submissions-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid var(--theme-border);
}

.submissions-table td {
  padding: 16px;
  border-bottom: 1px solid var(--theme-border);
  font-size: 14px;
  color: var(--theme-text);
}

.submissions-table tbody tr {
  cursor: pointer;
  transition: background-color 0.2s;
}

.submissions-table tbody tr:hover {
  background: var(--theme-bg);
}

.submissions-table tbody tr.selected {
  background: #eff6ff;
}

/* Approvals Page Styles */
.approval-items {
  margin-top: 30px;
}

.approval-items .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.approval-items .section-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.approvals-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius);
  overflow: hidden;
}

.approvals-table thead tr:first-child th:first-child {
  border-top-left-radius: var(--radius);
}

.approvals-table thead tr:first-child th:last-child {
  border-top-right-radius: var(--radius);
}

.approvals-table thead {
  background: var(--theme-bg-soft);
}

.approvals-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  color: var(--theme-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid var(--theme-border);
}

.approvals-table td {
  padding: 16px;
  border-bottom: 1px solid var(--theme-border);
  font-size: 14px;
  color: var(--theme-text);
}

.approvals-table tbody tr {
  cursor: pointer;
  transition: background-color 0.2s;
}

.approvals-table tbody tr:hover {
  background: var(--theme-bg);
}

.approvals-table tbody tr.selected {
  background: #eff6ff;
}

.priority-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.priority-high {
  background: #fee2e2;
  color: #b91c1c;
}

.priority-medium {
  background: #ffedd5;
  color: #c2410c;
}

.priority-low {
  background: #d1fae5;
  color: #047857;
}

/* Step badge (replaces bg-secondary) */
.approvals-table .badge.bg-secondary,
#detailStepName.badge.bg-secondary {
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%) !important;
  padding: 6px 12px;
  font-weight: 500;
}

/* New Request Page Styles */
.new-request-split-panel {
  flex: 1;
  padding: 28px 32px;
  background: linear-gradient(160deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--theme-border);
}

.new-request-page-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.new-request-header-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-primary-hover) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.new-request-header-text .page-title {
  margin: 0 0 4px 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-text);
  letter-spacing: -0.02em;
}

.new-request-header-text .page-subtitle {
  margin: 0;
  font-size: 15px;
  color: var(--theme-text-muted);
}

.new-request-container { margin-top: 0; }

/* Templates panel - New Request */
.new-request-templates-panel {
  background: var(--theme-surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-lg);
}

.new-request-templates-panel .panel-header h2 {
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.new-request-template-item {
  cursor: pointer;
  transition: all var(--transition);
}

.new-request-template-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
}

.new-request-empty-templates {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.new-request-empty-templates .empty-templates-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--theme-text-muted);
  opacity: 0.7;
}

.new-request-empty-templates .empty-templates-title {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-text);
}

.new-request-empty-templates .empty-templates-hint {
  margin: 0;
  font-size: 14px;
  color: var(--theme-text-muted);
  line-height: 1.5;
  max-width: 240px;
}

/* ========== Request Form (New Request & Fill) ========== */
.new-request-form-panel,
.new-request-fill-panel {
  flex: 1;
  min-width: 0;
  background: var(--theme-surface);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
}

/* New Request split layout: form expands to fill space */
.new-request-container .new-request-form-panel {
  max-width: none;
}

/* New Request - Empty state (right panel) */
.new-request-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 48px 32px;
  text-align: center;
}

.new-request-empty-state .empty-state-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 24px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--theme-primary);
  opacity: 0.9;
}

.new-request-empty-state .empty-state-title {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
}

.new-request-empty-state .empty-state-desc {
  margin: 0;
  font-size: 15px;
  color: var(--theme-text-muted);
  max-width: 280px;
  line-height: 1.5;
}

.new-request-form-panel .form-actions .btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Legacy - keep for formPanelContent show/hide */
.new-request-form-panel .empty-state {
  padding: 48px 32px;
  text-align: center;
  color: var(--theme-text-muted);
}

.new-request-form-panel .empty-state svg {
  opacity: 0.4;
  margin-bottom: 16px;
}

.new-request-form-panel .empty-state p {
  margin: 0;
  font-size: 15px;
}

/* Form header */
.new-request-form-header,
.new-request-fill-panel .page-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--theme-border);
}

.new-request-fill-panel .page-header {
  flex-direction: column;
  align-items: flex-start;
}

.new-request-form-header h2,
.new-request-fill-panel .page-title {
  margin: 0 0 4px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--theme-text);
  letter-spacing: -0.02em;
}

.new-request-form-header .text-muted,
.new-request-fill-panel .page-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--theme-text-muted);
}

.page-subtitle {
  font-size: 14px;
  color: var(--theme-text-muted);
  margin: 4px 0 0 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--theme-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--theme-primary-hover);
  text-decoration: underline;
}

/* Request form fields */
.request-fill-form .form-group {
  margin-bottom: 24px;
}

/* Two-column layout for form fields when space allows */
.new-request-form-panel .request-fill-form #formFieldsContainer {
  display: block;
}

@media (min-width: 800px) {
  .new-request-form-panel .request-fill-form #formFieldsContainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }
  .new-request-form-panel .request-fill-form #formFieldsContainer .form-group:has(textarea) {
    grid-column: 1 / -1;
  }
}

.request-fill-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.request-fill-form .form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  transition: all var(--transition);
  background: var(--theme-surface);
}

.request-fill-form .form-control::placeholder {
  color: #94a3b8;
}

.request-fill-form .form-control:hover:not(:focus) {
  border-color: #cbd5e1;
}

.request-fill-form .form-control:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.request-fill-form textarea.form-control {
  resize: vertical;
  min-height: 100px;
  padding-top: 12px;
}

/* File upload styling */
.form-group-attachment {
  padding: 20px;
  background: var(--theme-bg);
  border-radius: var(--radius);
  border: 1px dashed var(--theme-border);
}

.form-group-attachment .file-upload-wrapper {
  margin-top: 4px;
}

.request-fill-form input[type="file"] {
  padding: 12px 14px;
  font-size: 14px;
  background: var(--theme-surface);
}

.request-fill-form input[type="file"]::file-selector-button {
  padding: 10px 18px;
  margin-right: 16px;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-sm);
  background: var(--theme-bg-soft);
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-text);
  cursor: pointer;
  transition: all var(--transition);
}

.request-fill-form input[type="file"]::file-selector-button:hover {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
  color: white;
}

.request-fill-form .form-group .text-muted {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--theme-text-muted);
}

/* Form actions */
.request-fill-form .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--theme-border);
  justify-content: flex-end;
}

.new-request-panel {
  flex: 1;
  max-width: 600px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.new-request-panel .form-group {
  margin-bottom: 24px;
}

.new-request-panel .form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.new-request-panel .form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.new-request-panel .form-control:focus {
  outline: none;
  border-color: #1976d2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.1);
}

.new-request-panel textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

.new-request-panel .input-with-icon {
  position: relative;
}

.new-request-panel .input-with-icon svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
}

.file-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}

.file-label:hover {
  background-color: #e0e0e0;
  border-color: #d0d0d0;
}

.file-name {
  font-size: 14px;
  color: #666;
  font-style: italic;
}

.new-request-panel .form-actions {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  justify-content: flex-end;
}

/* Profile Page Styles */
.profile-panel {
  flex: 1;
  max-width: 900px;
  background: var(--theme-surface);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 40px;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.profile-info {
  flex: 1;
}

.profile-name {
  font-size: 32px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0;
}

.profile-role {
  font-size: 18px;
  color: #666;
  margin: 0 0 4px 0;
  font-weight: 500;
}

.profile-email {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.profile-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.profile-section {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 20px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-item label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-value {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.role-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.role-admin {
  background-color: #e3f2fd;
  color: #1976d2;
}

.role-user {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.status-active {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.security-actions {
  display: flex;
  gap: 12px;
}

/* Responsive Profile */
@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-info {
    text-align: center;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* Template Setup Styles */
.template-setup-panel {
  flex: 1;
  background: #f8fafc;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--theme-border);
}

.template-setup-container {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  height: calc(100vh - 200px);
}

.template-list-panel {
  width: 340px;
  background: #f0f4f8;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.template-setup-form-panel {
  flex: 1;
  min-width: 0;
  background: #f5f7fa;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.btn-new-template svg {
  width: 16px;
  height: 16px;
}

.template-setup-panel .page-header {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

.template-setup-panel .page-subtitle {
  margin: 4px 0 0 0;
  font-size: 14px;
  color: var(--theme-text-muted);
}

.template-setup-panel .panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--theme-border);
  width: 100%;
}

.template-setup-panel .panel-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.panel-header .btn-new-template {
  flex-shrink: 0;
}

.template-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.template-item {
  background: var(--theme-surface);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all var(--transition);
}

.template-item:hover {
  border-color: var(--theme-primary);
  box-shadow: var(--shadow);
}

.template-item.active {
  border-color: var(--theme-primary);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.template-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.template-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.template-status {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.template-status.status-active {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.template-status.status-inactive {
  background-color: #ffebee;
  color: #c62828;
}

.template-item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
}

.template-form-container {
  flex: 1;
  overflow-y: auto;
}

.template-setup-form-panel .empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px;
  color: var(--theme-text-muted);
  text-align: center;
}

.template-setup-form-panel .empty-state svg {
  opacity: 0.35;
  margin-bottom: 20px;
}

.template-setup-form-panel .empty-state p {
  margin: 0;
  font-size: 15px;
}

.template-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.template-form-basic {
  padding: 24px;
  background: var(--theme-bg);
  border-radius: var(--radius);
  border: 1px solid var(--theme-border);
  margin-bottom: 24px;
}

.template-form-basic .form-group {
  margin-bottom: 20px;
}

.template-form-basic .form-group:last-of-type {
  margin-bottom: 0;
}

.template-form-basic label {
  font-size: 13px;
  font-weight: 600;
  color: var(--theme-text);
  margin-bottom: 8px;
}

.template-form-basic .form-control {
  padding: 12px 14px;
  border: 1px solid var(--theme-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.template-form-basic .form-control:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.template-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-text);
}

.template-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--theme-primary);
}

.form-section {
  margin-top: 0;
  padding-top: 24px;
  border-top: 1px solid var(--theme-border);
}

.template-input-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.template-input-section .section-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.section-hint {
  font-size: 13px;
  color: var(--theme-text-muted);
  margin: 0 0 16px 0;
}

.inputs-empty {
  padding: 32px;
  text-align: center;
  background: var(--theme-bg);
  border: 1px dashed var(--theme-border);
  border-radius: var(--radius);
}

.inputs-empty p {
  margin: 0;
  color: var(--theme-text-muted);
  font-size: 14px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.section-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inputs-container {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.input-item {
  background: var(--theme-bg);
  border: 1px solid var(--theme-border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

.input-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.input-name-field {
  flex: 2;
}

.input-type-field {
  flex: 1;
}

.input-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.input-name-field label,
.input-type-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--theme-text-muted);
}

.input-actions .btn {
  margin-bottom: 0;
}

.approvers-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.approver-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
}

.approver-row {
  display: flex;
  gap: 15px;
  align-items: flex-end;
}

.approver-order-field {
  flex: 0 0 80px;
}

.approver-company-field {
  flex: 2;
}

.approver-user-field {
  flex: 2;
}

.approver-required-field {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.approver-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-bottom: 0;
}

.approver-order-field label,
.approver-company-field label,
.approver-user-field label,
.approver-required-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

.approver-required-field .form-check-input {
  margin-top: 0;
  margin-left: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.approver-actions .btn {
  margin-bottom: 0;
}

.step-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 15px;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.step-order {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--theme-primary) 0%, var(--theme-accent) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.step-name {
  flex: 1;
}

.step-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  margin: 0;
  cursor: pointer;
}

.template-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--theme-border);
}

/* Template Process Styles */
.template-process-panel {
  flex: 1;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.template-process-panel .page-header {
  margin-bottom: 28px;
}

.template-process-panel .page-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--theme-text-muted);
  max-width: 520px;
}

/* Template Process - Left List */
.template-process-list .panel-header h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--theme-text);
}

.template-process-item {
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
}

.template-process-item:hover {
  border-left-color: var(--theme-primary);
}

.template-process-item.active {
  border-left-color: var(--theme-primary);
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
}

.template-code-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: #e2e8f0;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.template-process-item.active .template-code-badge {
  background: rgba(37, 99, 235, 0.2);
  color: var(--theme-primary);
}

.template-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--theme-text-muted);
}

.template-meta-badge svg {
  opacity: 0.7;
}

.template-process-empty-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
}

.template-process-empty-list svg {
  opacity: 0.25;
  margin-bottom: 16px;
  color: var(--theme-text);
}

.template-process-empty-list p {
  margin: 0;
  font-weight: 600;
  color: var(--theme-text-muted);
}

.template-process-empty-hint {
  font-size: 13px;
  color: var(--theme-text-muted);
  margin-top: 6px;
  opacity: 0.9;
}

/* Template Process - Right Panel Empty State */
.template-process-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 48px;
  text-align: center;
}

.template-process-empty-state .empty-state-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.template-process-empty-state .empty-state-icon svg {
  color: #6366f1;
  opacity: 0.85;
}

.template-process-empty-state h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0 0 8px 0;
}

.template-process-empty-state p {
  margin: 0;
  font-size: 14px;
  color: var(--theme-text-muted);
  max-width: 260px;
}

/* Template Process - Detail Wrap */
.template-process-detail-wrap {
  animation: templateProcessFadeIn 0.3s ease;
}

@keyframes templateProcessFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Template Process Tabs */
.template-process-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 2px solid var(--theme-border);
  margin-bottom: 24px;
}

.template-process-tabs .nav-item {
  margin-bottom: -2px;
}

.template-process-tabs .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--theme-text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.template-process-tabs .nav-link:hover {
  color: var(--theme-primary);
}

.template-process-tabs .nav-link.active {
  color: var(--theme-primary);
  font-weight: 600;
  border-bottom-color: var(--theme-primary);
}

.template-process-tabs .nav-link svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.template-process-tabs .nav-link.active svg {
  opacity: 1;
}

/* Template Process Detail Card */
.template-process-detail-card {
  padding: 24px;
  background: var(--theme-surface);
  border-radius: 12px;
  border: 1px solid var(--theme-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.template-process-detail-card .detail-card-badge {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-primary);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

.template-process-detail-card .detail-card-description {
  margin: 0 0 16px 0;
  font-size: 14px;
  color: var(--theme-text-muted);
  line-height: 1.5;
}

.template-process-detail-card .detail-card-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--theme-text-muted);
  padding: 8px 14px;
  background: #f1f5f9;
  border-radius: 8px;
}

.template-process-detail-card .detail-card-meta svg {
  opacity: 0.7;
}

/* Template Process Actions */
.template-process-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--theme-border);
}

.template-process-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.template-process-actions .btn:disabled {
  opacity: 0.5;
}

/* Template Process Employees Panel */
.template-process-employees {
  margin-top: 8px;
}

.template-process-employees .employees-add-section {
  margin-bottom: 28px;
}

.template-process-employees .employees-add-section label,
.template-process-employees .assigned-section label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--theme-text);
  margin-bottom: 10px;
}

.template-process-employees .assigned-hint {
  font-size: 13px;
  color: var(--theme-text-muted);
  margin: 0 0 16px 0;
}

.add-employee-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.add-employee-row .form-control,
.add-employee-row select,
.form-select-styled {
  flex: 1;
  min-width: 200px;
  max-width: 340px;
  padding: 12px 40px 12px 16px;
  border: 1px solid var(--theme-border);
  border-radius: 10px;
  font-size: 14px;
  background: var(--theme-surface);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.add-employee-row .form-control:focus,
.form-select-styled:focus {
  outline: none;
  border-color: var(--theme-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.add-employee-row .btn {
  flex-shrink: 0;
}

/* Assigned Table */
.assigned-section {
  margin-top: 20px;
}

.assigned-count {
  font-weight: 500;
  color: var(--theme-text-muted);
}

.assigned-table-wrap {
  border-radius: 10px;
  border: 1px solid var(--theme-border);
  overflow: hidden;
  background: var(--theme-surface);
}

.assigned-employees-table {
  margin: 0;
}

.assigned-employees-table thead th {
  background: #f8fafc;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-text-muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--theme-border);
}

.assigned-employees-table thead th.col-action {
  width: 100px;
  text-align: right;
}

.assigned-employees-table tbody td {
  padding: 14px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--theme-border);
}

.assigned-employees-table tbody tr:last-child td {
  border-bottom: none;
}

.assigned-employees-table tbody tr:hover {
  background: #f8fafc;
}

.assigned-employees-table .assignee-name {
  font-weight: 500;
  color: var(--theme-text);
}

.assigned-employees-table .assignee-email {
  font-size: 13px;
  color: var(--theme-text-muted);
}

.assigned-employees-table .col-action {
  text-align: right;
}

.no-assigned-msg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px dashed var(--theme-border);
}

.no-assigned-msg svg {
  opacity: 0.25;
  margin-bottom: 12px;
  color: var(--theme-text);
}

.no-assigned-msg p {
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  color: var(--theme-text-muted);
}

.no-assigned-msg span {
  margin-top: 4px;
  font-size: 13px;
  color: var(--theme-text-muted);
  opacity: 0.9;
}

/* Legacy (keep for compatibility) */
.process-list { margin-top: 20px; }
.process-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.process-table thead { background-color: #f5f5f5; }
.process-table th { padding: 12px; text-align: left; font-weight: 600; color: #333; border-bottom: 2px solid #e0e0e0; }
.process-table td { padding: 12px; border-bottom: 1px solid #e0e0e0; }
.process-row:hover { background-color: #f9f9f9; }
.template-detail-card { padding: 20px; background: var(--theme-bg); border-radius: var(--radius); border: 1px solid var(--theme-border); }
.template-detail-card h3 { margin: 0 0 8px 0; font-size: 1.1rem; color: var(--theme-text); }
.template-detail-card .text-muted { margin: 0; color: var(--theme-text-muted); }
.template-detail-card .small { margin-top: 8px; }

/* Template Process Form Panel */
.template-process-form-panel {
  background: var(--theme-surface);
}

.template-process-tab-content {
  padding-top: 4px;
}

/* Responsive Template Setup & Process */
@media (max-width: 1024px) {
  .template-setup-container {
    flex-direction: column;
    height: auto;
  }
  
  .template-list-panel {
    width: 100%;
    max-height: 300px;
  }

  .template-process-actions {
    flex-wrap: wrap;
  }
}

/* User Master (Super Admin) */
.usermaster-sidebar-item {
  border-top: 1px solid var(--theme-border);
  margin-top: 8px;
  padding-top: 8px;
}

.usermaster-panel {
  flex: 1;
  background: linear-gradient(180deg, #f8fafc 0%, #f0f4f8 100%);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.usermaster-panel .page-header {
  margin-bottom: 28px;
}

.usermaster-panel .page-subtitle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--theme-text-muted);
}

.usermaster-container {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  min-height: 400px;
}

.usermaster-menu {
  width: 240px;
  flex-shrink: 0;
  background: var(--theme-surface);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--theme-border);
  height: fit-content;
}

.usermaster-menu-header h2 {
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-border);
}

.usermaster-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.usermaster-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--theme-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

.usermaster-nav-item:hover {
  background: #f1f5f9;
  color: var(--theme-primary);
}

.usermaster-nav-item.active {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--theme-primary);
}

.usermaster-content {
  flex: 1;
  min-width: 0;
  background: var(--theme-surface);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid var(--theme-border);
}

.usermaster-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  text-align: center;
}

.usermaster-welcome-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.usermaster-welcome-icon svg {
  color: #6366f1;
  opacity: 0.9;
}

.usermaster-welcome h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0 0 8px 0;
}

.usermaster-welcome p {
  margin: 0 0 24px 0;
  font-size: 14px;
  color: var(--theme-text-muted);
}

.usermaster-quick-links .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.usermaster-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--theme-border);
}

.usermaster-content-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-text);
  margin: 0;
}

.usermaster-table {
  margin: 0;
}

.usermaster-table thead th {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--theme-text-muted);
  padding: 14px 18px;
  border-bottom: 1px solid var(--theme-border);
}

.usermaster-table tbody td {
  padding: 14px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--theme-border);
}

.usermaster-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--theme-text-muted);
  font-size: 14px;
}
