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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: #ffffff !important;
  min-height: 100vh;
  padding: 20px;
}

html {
  background: #ffffff !important;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-header {
  background: white;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.header-content {
  flex: 1;
}

.header-actions {
  margin-left: 20px;
}

.privacy-policy-btn {
  display: inline-block;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25),
    0 2px 4px rgba(74, 144, 226, 0.15);
}

.privacy-policy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3),
    0 3px 6px rgba(74, 144, 226, 0.2);
}

.header-content h1 {
  font-size: 36px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.subtitle {
  color: #6b7280;
  font-size: 17px;
  font-weight: 400;
}

.search-container {
  margin-bottom: 30px;
}

.search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  color: #1a1a1a;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15),
    0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-input::placeholder {
  color: #9ca3af;
}

.header-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  padding: 28px 24px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25),
    0 2px 4px rgba(74, 144, 226, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3),
    0 3px 6px rgba(74, 144, 226, 0.2);
}

.clickable-stat-card {
  cursor: pointer;
}

.clickable-stat-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.4),
    0 4px 8px rgba(74, 144, 226, 0.3);
}

.stat-value {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -1px;
}

.stat-label {
  font-size: 15px;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.dashboard-content {
  position: relative;
}

.loading-screen {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4a90e2;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.empty-icon {
  font-size: 80px;
  margin-bottom: 20px;
}

.empty-state h2 {
  color: #2c3e50;
  margin-bottom: 10px;
}

.empty-state p {
  color: #7f8c8d;
}

/* Account Sections */
.account-section {
  margin-bottom: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid #e5e7eb;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.5px;
  margin: 0;
}

.section-count {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25);
}

.users-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  overflow-x: auto;
  overflow-y: visible;
  padding-bottom: 10px;
  /* Enable smooth horizontal scrolling */
  scroll-behavior: smooth;
  /* Custom scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: #4a90e2 #e5e7eb;
}

/* Webkit scrollbar styling for Chrome/Safari */
.users-container::-webkit-scrollbar {
  height: 8px;
}

.users-container::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 10px;
}

.users-container::-webkit-scrollbar-thumb {
  background: #4a90e2;
  border-radius: 10px;
}

.users-container::-webkit-scrollbar-thumb:hover {
  background: #357abd;
}

.user-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Fixed width to show exactly 3 cards per row, then scroll horizontally */
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 300px;
}

.user-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(74, 144, 226, 0.2);
}

.user-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  font-weight: 700;
  margin-right: 16px;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3),
    0 2px 4px rgba(74, 144, 226, 0.2);
}

.user-info h3 {
  color: #1a1a1a;
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.user-email {
  color: #6b7280;
  font-size: 15px;
  font-weight: 400;
}

.user-address {
  color: #6b7280;
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
}

.user-type {
  color: #4a90e2;
  font-size: 13px;
  font-weight: 500;
  margin-top: 4px;
}

.user-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.user-stat {
  text-align: center;
  padding: 18px 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.user-stat:hover {
  background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
  transform: scale(1.02);
}

.user-stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #4a90e2;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.user-stat-label {
  font-size: 13px;
  color: #6b7280;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.user-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.send-message-btn {
  width: 100%;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25),
    0 2px 4px rgba(74, 144, 226, 0.15);
}

.send-message-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3),
    0 3px 6px rgba(74, 144, 226, 0.2);
}

.send-message-btn:active {
  transform: translateY(0);
}

.send-document-btn {
  width: 100%;
  margin-top: 10px;
  background: linear-gradient(135deg, #1a9e7a 0%, #157a5e 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(26, 158, 122, 0.25),
    0 2px 4px rgba(26, 158, 122, 0.15);
}

.send-document-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 158, 122, 0.3),
    0 3px 6px rgba(26, 158, 122, 0.2);
}

.send-document-btn:active {
  transform: translateY(0);
}

.document-file-input {
  padding: 10px 0;
}

.form-hint {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
}

.modal-actions-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-send-message-btn,
.modal-send-document-btn {
  flex: 1;
  min-width: 140px;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.modal-send-message-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.25);
}

.modal-send-document-btn {
  background: linear-gradient(135deg, #1a9e7a 0%, #157a5e 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(26, 158, 122, 0.25);
}

.modal-send-message-btn:hover,
.modal-send-document-btn:hover {
  transform: translateY(-1px);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 24px;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 1px solid #e5e7eb;
  background: #fafbfc;
  border-radius: 24px 24px 0 0;
}

.modal-header h2 {
  color: #1a1a1a;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.close-btn {
  background: none;
  border: none;
  font-size: 32px;
  color: #7f8c8d;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.close-btn:hover {
  background: #f5f5f5;
}

/* Message Form Styles */
.message-form {
  padding: 32px;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.recipient-info {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f5 100%);
  border-radius: 12px;
  font-size: 15px;
  color: #2c3e50;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e1e8ed;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  color: #2c3e50;
  transition: all 0.2s ease;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15),
    0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #95a5a6;
  font-weight: 400;
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e7eb;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25),
    0 2px 4px rgba(74, 144, 226, 0.15);
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3),
    0 3px 6px rgba(74, 144, 226, 0.2);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: #f5f7fa;
  color: #2c3e50;
  border: 2px solid #e1e8ed;
}

.btn-secondary:hover {
  background: #e9ecef;
  border-color: #d1d9e0;
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
}

.modal-body {
  padding: 0;
  overflow-y: auto;
  flex: 1;
}

/* Message modal body should have padding */
#messageModal .modal-body {
  padding: 0;
}

.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 2px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: -2px;
  border-radius: 8px 8px 0 0;
}

.tab-btn:hover {
  background: #f8f9fa;
  color: #4a90e2;
}

.tab-btn.active {
  color: #4a90e2;
  border-bottom-color: #4a90e2;
  background: #f0f7ff;
}

.tab-content {
  margin-top: 20px;
}

.submission-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 16px;
  border-left: 5px solid #4a90e2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.submission-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.06);
  transform: translateX(2px);
}

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

.submission-title {
  font-size: 19px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.submission-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.submission-date {
  font-size: 12px;
  color: #6b7280;
  background: #f8f9fa;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.download-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
  display: flex;
  align-items: center;
  gap: 6px;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
  background: linear-gradient(135deg, #357abd 0%, #2a6ba0 100%);
}

.download-btn:active {
  transform: translateY(0);
}

.download-file-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.download-file-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
  background: linear-gradient(135deg, #357abd 0%, #2a6ba0 100%);
}

.download-file-btn:active {
  transform: translateY(0);
}

.submission-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.detail-item {
  background: #f8f9fa;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.detail-item:hover {
  background: #f1f3f5;
  transform: translateY(-1px);
}

.detail-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.detail-value {
  font-size: 17px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.2px;
}

.no-submissions {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
}

.no-submissions-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

/* Privacy Policy Page Styles */
.privacy-policy-content {
  background: white;
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 0 auto;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  font-size: 28px;
  color: #1a1a1a;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  border-bottom: 2px solid #4a90e2;
  padding-bottom: 10px;
}

.privacy-section h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.privacy-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 15px;
}

.privacy-section ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

.privacy-section li {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 10px;
}

.privacy-section li strong {
  color: #2c3e50;
  font-weight: 600;
}

.last-updated {
  text-align: center;
  color: #6b7280;
  font-size: 14px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .header-stats {
    grid-template-columns: 1fr;
  }

  .users-container {
    grid-template-columns: 1fr;
  }

  .modal-content {
    max-height: 95vh;
  }

  .submission-details {
    grid-template-columns: 1fr;
  }

  .header-top-row {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    margin-left: 0;
    margin-top: 20px;
    text-align: center;
  }

  .privacy-policy-content {
    padding: 30px 20px;
  }

  .privacy-section h2 {
    font-size: 24px;
  }

  .privacy-section h3 {
    font-size: 18px;
  }
}

/* Payroll Screen Styles */
.payroll-screen {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.screen-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 3px solid #e5e7eb;
}

.back-btn {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.25),
    0 2px 4px rgba(74, 144, 226, 0.15);
}

.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3),
    0 3px 6px rgba(74, 144, 226, 0.2);
}

.screen-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.5px;
}

.payroll-content {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  padding-right: 10px;
}

.user-payroll-group {
  margin-bottom: 40px;
}

.user-group-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e7eb;
  letter-spacing: -0.3px;
}

.user-payroll-submissions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Screen Search Bar Styles */
.screen-search-container {
  margin-bottom: 30px;
}

.screen-search-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  color: #1a1a1a;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.screen-search-input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15),
    0 0 0 3px rgba(74, 144, 226, 0.1);
}

.screen-search-input::placeholder {
  color: #9ca3af;
}

/* Requests Screen Styles */
.requests-screen {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.requests-content {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  padding-right: 10px;
}

.user-requests-group {
  margin-bottom: 40px;
}

.user-requests-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Users Screen Styles */
.users-screen {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.users-content {
  max-height: calc(100vh - 300px);
  overflow-y: auto;
  padding-right: 10px;
}

.users-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}