@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.5rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover {
  color: rgb(57.1551724138, 88.1896551724, 227.8448275862);
}

ul, ol {
  list-style: none;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
input::placeholder, textarea::placeholder {
  color: #6c757d;
}

label {
  display: block;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  appearance: textfield;
  -moz-appearance: textfield;
}

table {
  border-collapse: collapse;
  width: 100%;
}

.container {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: #6c757d;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-0 {
  margin-top: 0 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mt-1 {
  margin-top: 0.5rem !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mt-3 {
  margin-top: 1.5rem !important;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: #ffffff;
  color: #667eea;
  border: 2px solid #667eea;
}
.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(102, 126, 234, 0.1);
}

.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: #dc3545;
  color: #ffffff;
}
.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-danger:hover:not(:disabled) {
  background: rgb(189.2151898734, 32.7848101266, 47.7721518987);
}

.btn-success {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  background: #28a745;
  color: #ffffff;
}
.btn-success:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.btn-success:hover:not(:disabled) {
  background: rgb(30.1449275362, 125.8550724638, 52);
}

.btn-small {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #dee2e6;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.message {
  padding: 1rem 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-weight: 500;
}
.message.success-message {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-left: 4px solid #28a745;
}
.message.error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-left: 4px solid #dc3545;
}
.message.warning-message {
  background: rgba(255, 193, 7, 0.1);
  color: #a07800;
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-left: 4px solid #ffc107;
}
.message.info-message {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-left: 4px solid #0ea5e9;
}

.badge, .risk-badge, .severity-badge, .status-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge.badge-primary, .badge-primary.risk-badge, .badge-primary.severity-badge, .badge-primary.status-badge {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}
.badge.badge-success, .badge-success.risk-badge, .badge-success.severity-badge, .badge-success.status-badge {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.badge.badge-danger, .badge-danger.risk-badge, .badge-danger.severity-badge, .badge-danger.status-badge {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}
.badge.badge-warning, .badge-warning.risk-badge, .badge-warning.severity-badge, .badge-warning.status-badge {
  background: rgba(255, 193, 7, 0.1);
  color: #a07800;
}

.auth-container {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.auth-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}
.auth-card .back-link {
  display: inline-block;
  color: #6c757d;
  text-decoration: none;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}
.auth-card .back-link:hover {
  color: #667eea;
}
.auth-card .auth-title {
  color: #667eea;
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-tabs {
  display: flex;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e9ecef;
}
.auth-tabs .auth-tab {
  flex: 1;
  padding: 1rem;
  background: none;
  border: none;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.auth-tabs .auth-tab:hover {
  color: #667eea;
}
.auth-tabs .auth-tab.active {
  color: #667eea;
  border-bottom-color: #667eea;
}

.auth-form {
  display: none;
}
.auth-form.active {
  display: block;
  animation: fadeIn 0.5s ease ease-in;
}
.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .auth-form .form-row {
    grid-template-columns: 1fr;
  }
}
.auth-form .form-group {
  margin-bottom: 1rem;
}
.auth-form .form-group label {
  display: block;
  font-weight: 600;
  color: #333333;
  margin-bottom: 0.25rem;
}
.auth-form .form-group input, .auth-form .form-group select, .auth-form .form-group textarea {
  width: 100%;
  padding: 0.5rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.auth-form .form-group input:focus, .auth-form .form-group select:focus, .auth-form .form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.auth-form .form-group small {
  display: block;
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.auth-form .checkbox-group .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}
.auth-form .checkbox-group .checkbox-label input[type=checkbox] {
  width: auto;
  margin-top: 3px;
}
.auth-form .checkbox-group .checkbox-label span {
  font-size: 0.875rem;
  color: #6c757d;
}
.auth-form .checkbox-group .checkbox-label span a {
  color: #667eea;
}
.auth-form .auth-links {
  text-align: center;
  margin-top: 1rem;
}
.auth-form .auth-links a {
  color: #667eea;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.dashboard {
  min-height: 100vh;
  background: #f8f9fa;
}

.dashboard-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 300;
}
.dashboard-header .header-left .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  text-decoration: none;
}
.dashboard-header .header-center {
  text-align: center;
}
.dashboard-header .header-center h1 {
  color: #667eea;
  font-size: 1.25rem;
  margin: 0;
}
.dashboard-header .header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}
.dashboard-header .header-right .user-name {
  color: #333333;
  font-weight: 500;
}

.tabs-container {
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid #e9ecef;
  z-index: 200;
}

.tabs {
  display: flex;
  max-width: 85%;
  margin: 0 auto;
  padding: 0 2rem;
}
.tabs .tab {
  padding: 1rem 2rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}
.tabs .tab:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}
.tabs .tab.active {
  color: #667eea;
  border-bottom-color: #667eea;
}

.dashboard-content {
  padding-top: calc(130px + 2rem);
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  max-width: 85%;
  margin: 0 auto;
}

.tab-content {
  display: none;
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.tab-content.active {
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.5s ease ease-in;
}

.content-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f8f9fa;
  position: relative;
  z-index: 0;
}
.content-header h2 {
  color: #667eea;
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
}
.content-header p {
  color: #f8f9fa;
  margin: 0;
  font-size: 0.95rem;
}

.sub-tabs {
  display: flex;
  margin: 2rem;
  padding: 0 2rem;
  border-bottom: 2px solid #e9ecef;
  background: rgba(102, 126, 234, 0.02);
  border-radius: 8px 8px 0 0;
  position: relative;
  z-index: 1;
}
.sub-tabs .sub-tab {
  padding: 0.5rem 1.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  color: #6c757d;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}
.sub-tabs .sub-tab:hover {
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}
.sub-tabs .sub-tab.active {
  color: #667eea;
  background: #ffffff;
  border-bottom: 3px solid #667eea;
  margin-bottom: -2px;
}

.sub-tab-content {
  display: none;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  position: relative;
  z-index: 0;
}
.sub-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease ease-in;
}

#home.tab-content {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.welcome-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #dee2e6;
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
  width: 100%;
  overflow: hidden;
}
@media (max-width: 768px) {
  .welcome-card {
    flex-direction: column;
    text-align: center;
  }
}
.welcome-card .welcome-card-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(102, 126, 234, 0.03);
  border-bottom: 1px solid rgba(102, 126, 234, 0.08);
}
@media (max-width: 768px) {
  .welcome-card .welcome-card-header {
    flex-direction: column;
    gap: 1rem;
  }
}
.welcome-card .welcome-info h2 {
  color: #667eea;
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}
.welcome-card .welcome-info p {
  color: #6c757d;
  margin: 0;
  font-size: 0.875rem;
}
.welcome-card .welcome-stats {
  display: flex;
  gap: 2rem;
}
.welcome-card .welcome-stats .stat-item {
  text-align: center;
  padding: 0.5rem 1rem;
}
.welcome-card .welcome-stats .stat-item .stat-number {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #667eea;
  line-height: 1;
}
.welcome-card .welcome-stats .stat-item .stat-label {
  color: #6c757d;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

.quick-actions {
  margin-bottom: 1.5rem;
  width: 100%;
  padding: 2rem 2rem 1.5rem;
}
.quick-actions h3 {
  color: #6c757d;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.quick-actions .action-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .quick-actions .action-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .quick-actions .action-cards {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
}
.quick-actions .action-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid #dee2e6;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 120px;
}
.quick-actions .action-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.quick-actions .action-card:active {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.quick-actions .action-card .action-icon {
  font-size: 2rem;
  line-height: 1;
}
.quick-actions .action-card .action-text {
  font-weight: 600;
  color: #333333;
  font-size: 0.875rem;
  text-align: center;
}

.search-form .search-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .search-form .search-grid {
    grid-template-columns: 1fr;
  }
}
.search-form .search-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-help {
  background: rgba(14, 165, 233, 0.1);
  border-left: 4px solid #0ea5e9;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.search-help p {
  margin: 0 0 0.5rem;
  font-weight: 600;
  color: rgb(8.2186234818, 96.8623481781, 136.7813765182);
}
.search-help ul {
  margin: 0;
  padding-left: 1.5rem;
  color: rgb(11.1093117409, 130.9311740891, 184.8906882591);
}
.search-help ul li {
  margin: 0.25rem 0;
  font-size: 0.875rem;
}

.search-results-container {
  margin-top: 2rem;
}
.search-results-container .results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.search-results-container .results-header h3 {
  color: #333333;
  margin: 0;
}
.search-results-container .results-header .results-count {
  color: #6c757d;
  font-size: 0.875rem;
}

.search-results .results-table {
  width: 100%;
  border-collapse: collapse;
}
.search-results .results-table th, .search-results .results-table td {
  padding: 0.5rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}
.search-results .results-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333333;
}
.search-results .results-table tr:hover {
  background: rgba(102, 126, 234, 0.02);
}

.search-limits-info {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
}
.search-limits-info p {
  margin: 0;
  color: #6c757d;
  font-size: 0.875rem;
  text-align: center;
}
.search-limits-info .usage-stats {
  margin-left: 1rem;
  text-align: center;
}

/* ==========================================
   INDIVIDUAL DETAILS MODAL 
   ========================================== */
/* Profile Card */
.individual-profile-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.profile-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.profile-avatar .avatar-icon {
  font-size: 1.25rem;
  filter: grayscale(1) brightness(10);
}

.profile-info {
  flex: 1;
  min-width: 0;
}
.profile-info .profile-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.25rem 0;
}
.profile-info .profile-email,
.profile-info .profile-phone {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #6c757d;
  font-size: 0.8rem;
  margin: 0.125rem 0;
}
.profile-info .info-icon {
  font-size: 0.75rem;
}

/* Stats Grid */
.individual-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.stat-card {
  text-align: center;
  padding: 0.5rem 0.25rem;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  background: #fff;
}
.stat-card .stat-number {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.125rem;
}
.stat-card .stat-label {
  display: block;
  font-size: 0.625rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Reports Section */
.individual-reports-section {
  border-top: 1px solid #e9ecef;
  padding-top: 0.75rem;
}
.individual-reports-section .section-title {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 0.5rem 0;
}

.btn-outline {
  background: transparent;
  border: 1px solid #667eea;
  color: #667eea;
}
.btn-outline:hover:not(:disabled) {
  background: rgba(102, 126, 234, 0.1);
}
.btn-outline:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: #6c757d;
  color: #6c757d;
}

/* ==========================================
   INDIVIDUAL DETAILS MODAL
   ========================================== */
.modal-container:has(.individual-details-modal) {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow: hidden;
}

.individual-details-modal {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.individual-details-modal > .modal-header {
  flex-shrink: 0;
}

.individual-details-modal > .modal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.individual-details-modal > .modal-footer {
  flex-shrink: 0;
}

.individual-details-modal .individual-reports-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.individual-details-modal .individual-reports-list {
  flex: 1;
  min-height: 100px;
  max-height: none;
  overflow-y: auto;
}

/* Individual Report Card */
.individual-report-card {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  display: flex; /* NEW: flexbox for side-by-side */
  align-items: stretch; /* NEW: stretch both columns to same height */
  gap: 1rem; /* NEW: spacing between header and body */
  transition: border-color 0.2s ease;
}

.individual-report-card:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.report-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
  min-width: 130px; /* NEW: minimum width */
}

.report-field {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.report-field-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-card-date {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: #6c757d;
  font-size: 0.8125rem;
}

.report-card-date .date-icon {
  font-size: 0.75rem;
}

.report-date-value {
  font-size: 0.8125rem;
  color: #333;
}

.report-type-badge {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

.report-card-body {
  flex: 1;
  min-width: 0;
  background: #f8f9fa; /* NEW: light background for separation */
  border-radius: 6px; /* NEW: rounded corners */
  padding: 0.75rem 1rem; /* NEW: inner padding */
  border-left: 3px solid #e9ecef; /* NEW: subtle left border accent */
}

.report-description {
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.5;
  word-wrap: break-word;
}

/* Empty State for Reports */
.empty-state-small {
  padding: 1.5rem;
  text-align: center;
}

.empty-state-small .empty-state-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.empty-state-small p {
  color: #6c757d;
  margin: 0;
  font-size: 0.9rem;
}

/* Scrollbar styling for reports list */
.individual-reports-list::-webkit-scrollbar {
  width: 6px;
}

.individual-reports-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.individual-reports-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.individual-reports-list::-webkit-scrollbar-thumb:hover {
  background: #a1a1a1;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .modal-content:has(.individual-details-modal) {
    max-width: 95%;
  }
  .individual-profile-card {
    flex-direction: column;
    text-align: center;
  }
  .individual-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .stat-card {
    padding: 0.75rem 0.25rem;
  }
  .stat-card .stat-number {
    font-size: 1.5rem;
  }
  .individual-report-card {
    flex-direction: column;
  }
  .report-card-header {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
  }
  .report-card-body {
    width: 100%;
    border-left: none; /* NEW: remove left border on mobile */
    padding-top: 0.5rem;
    border-top: 1px solid #e9ecef;
  }
  .individual-reports-list {
    max-height: 300px; /* Slightly smaller on mobile */
  }
}
.report-form .form-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e9ecef;
}
.report-form .form-section:last-of-type {
  border-bottom: none;
}
.report-form .form-section h3 {
  color: #764ba2;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.report-form .form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .report-form .form-grid {
    grid-template-columns: 1fr;
  }
}
.report-form .full-width {
  grid-column: 1/-1;
}
.report-form .form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
}

.reports-filters {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.reports-filters .filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 768px) {
  .reports-filters .filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .reports-filters .filter-grid {
    grid-template-columns: 1fr;
  }
}
.reports-filters .filter-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.reports-list .report-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.reports-list .report-card:hover {
  border-color: #667eea;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.reports-list .report-card .report-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.reports-list .report-card .report-header .report-title {
  font-weight: 600;
  color: #333333;
}
.reports-list .report-card .report-header .report-date {
  color: #6c757d;
  font-size: 0.875rem;
}
.reports-list .report-card .report-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.report-details-modal-content {
  max-width: 750px;
}

/* Report Detail Content Container */
.report-detail-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Full-width sections (Customer Info, Report Info) */
.detail-section {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.detail-section h4 {
  margin: 0 0 0.75rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #667eea;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef;
}

/* Detail Grid for horizontal items */
.detail-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.detail-grid .detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-grid .detail-item label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0;
}

.detail-grid .detail-item span {
  font-size: 0.875rem;
  color: #333;
}

/* NEW: Bottom Row - Two Column Layout */
.detail-section-row {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

/* Left Column - Incident Details */
.detail-section-left {
  flex: 0 0 auto;
  min-width: 180px;
  max-width: 200px;
}

/* Detail List for vertical stacking */
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.detail-list .detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.detail-list .detail-item label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.detail-list .detail-item span {
  font-size: 0.875rem;
  color: #333;
}

/* Right Column - Description */
.detail-section-right {
  flex: 1;
  min-width: 0;
}

.description-container {
  height: 100%;
  min-height: 120px;
}

.description-text {
  margin: 0;
  font-size: 0.875rem;
  color: #495057;
  line-height: 1.6;
  word-wrap: break-word;
}

/* Responsive Layout */
@media (max-width: 576px) {
  .report-details-modal-content {
    max-width: 95%;
  }
  .detail-section-row {
    flex-direction: column;
  }
  .detail-section-left {
    max-width: 100%;
    min-width: 100%;
  }
  .detail-section-right {
    border-left: none;
    border-top: 3px solid #667eea;
  }
  .detail-grid {
    flex-direction: column;
    gap: 0.75rem;
  }
}
.table-container {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.reports-table,
.users-table table {
  width: 100%;
  border-collapse: collapse;
}
.reports-table thead,
.users-table table thead {
  background: #f8f9fa;
}
.reports-table thead th,
.users-table table thead th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  color: #6c757d;
  border-bottom: 2px solid #dee2e6;
  font-size: 0.85rem;
}
.reports-table tbody tr,
.users-table table tbody tr {
  border-bottom: 1px solid #dee2e6;
  transition: background 0.15s ease;
}
.reports-table tbody tr:hover,
.users-table table tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}
.reports-table tbody tr:nth-child(even),
.users-table table tbody tr:nth-child(even) {
  background: rgba(248, 249, 250, 0.5);
}
.reports-table tbody td,
.users-table table tbody td {
  padding: 1rem 1.5rem;
  color: #6c757d;
  vertical-align: middle;
  font-size: 0.875rem;
}

.reports-filters select,
.reports-filters input[type=text],
.reports-filters input[type=search],
.reports-filters input[type=email],
.reports-filters input[type=tel],
.reports-filters input[type=date],
.reports-filters textarea,
.filter-grid select,
.filter-grid input[type=text],
.filter-grid input[type=search],
.filter-grid input[type=email],
.filter-grid input[type=tel],
.filter-grid input[type=date],
.filter-grid textarea,
.report-form select,
.report-form input[type=text],
.report-form input[type=search],
.report-form input[type=email],
.report-form input[type=tel],
.report-form input[type=date],
.report-form textarea {
  padding: 0.5rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  transition: border-color 0.3s ease;
}
.reports-filters select:focus,
.reports-filters input[type=text]:focus,
.reports-filters input[type=search]:focus,
.reports-filters input[type=email]:focus,
.reports-filters input[type=tel]:focus,
.reports-filters input[type=date]:focus,
.reports-filters textarea:focus,
.filter-grid select:focus,
.filter-grid input[type=text]:focus,
.filter-grid input[type=search]:focus,
.filter-grid input[type=email]:focus,
.filter-grid input[type=tel]:focus,
.filter-grid input[type=date]:focus,
.filter-grid textarea:focus,
.report-form select:focus,
.report-form input[type=text]:focus,
.report-form input[type=search]:focus,
.report-form input[type=email]:focus,
.report-form input[type=tel]:focus,
.report-form input[type=date]:focus,
.report-form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.reports-filters select,
.filter-grid select,
.report-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.checkbox-col {
  width: 40px;
  text-align: center;
}
.checkbox-col input[type=checkbox] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #667eea;
}

.bulk-actions {
  padding: 1rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
  text-align: right;
  border-radius: 0 0 12px 12px;
}
.bulk-actions .bulk-export-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.action-separator {
  color: #dee2e6;
  margin: 0 0.5rem;
  font-weight: 300;
}

.account-settings-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.account-settings-nav .account-nav-btn {
  padding: 0.5rem 1.5rem;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 600;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s ease;
}
.account-settings-nav .account-nav-btn:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}
.account-settings-nav .account-nav-btn.active {
  background: #ffffff;
  border-color: #667eea;
  color: #667eea;
}

.account-section {
  display: none;
}
.account-section.active {
  display: block;
  animation: fadeIn 0.5s ease ease-in;
}

.settings-section {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.settings-section h3 {
  color: #667eea;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e9ecef;
}
.settings-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.settings-section .section-header h3 {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.users-table {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.users-table table {
  width: 100%;
  border-collapse: collapse;
}
.users-table table thead {
  background: #f8f9fa;
}
.users-table table thead th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #495057;
  border-bottom: 2px solid #e9ecef;
  white-space: nowrap;
}
.users-table table tbody tr {
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.15s ease;
}
.users-table table tbody tr:hover {
  background: rgba(102, 126, 234, 0.05);
}
.users-table table tbody tr.current-user-row {
  background: rgba(102, 126, 234, 0.08);
}
.users-table table tbody tr:last-child {
  border-bottom: none;
}
.users-table table tbody td {
  padding: 1rem;
  vertical-align: middle;
}

.user-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
}
.action-buttons .btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .users-table {
    overflow-x: auto;
  }
  .users-table table {
    min-width: 600px;
  }
}
.user-filter-toggle {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.users-table table tbody tr.inactive-user-row {
  background-color: rgba(220, 53, 69, 0.05);
}
.users-table table tbody tr.inactive-user-row td {
  color: #6c757d;
}
.users-table table tbody tr.inactive-user-row .user-avatar-small {
  opacity: 0.6;
}
.users-table table tbody tr.inactive-user-row:hover {
  background-color: rgba(220, 53, 69, 0.1);
}

.btn-success {
  background-color: #28a745;
  color: #ffffff;
  border: none;
}
.btn-success:hover {
  background-color: rgb(32.115942029, 134.084057971, 55.4);
}

.user-info-card {
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.user-info-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.06), rgba(102, 126, 234, 0.06));
  border-bottom: 1px solid #dee2e6;
}
.user-info-card .card-header .business-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.user-info-card .card-header .membership-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea, #667eea);
  color: #ffffff;
  padding: 0.25rem 1.5rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.user-info-card .info-list {
  padding: 0.5rem 0;
}
.user-info-card .info-list .info-row {
  display: flex;
  align-items: center;
  padding: 0.5rem 2rem;
  border-bottom: 1px solid rgba(222, 226, 230, 0.5);
  transition: background-color 0.3s ease;
}
.user-info-card .info-list .info-row:last-child {
  border-bottom: none;
}
.user-info-card .info-list .info-row:hover {
  background: rgba(102, 126, 234, 0.02);
}
.user-info-card .info-list .info-row .label {
  width: 120px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
  flex-shrink: 0;
}
.user-info-card .info-list .info-row .value {
  font-size: 0.9375rem;
  color: #333333;
  font-weight: 500;
}
.user-info-card .card-footer {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 2rem;
  background: #f8f9fa;
  border-top: 1px solid #dee2e6;
}
@media (max-width: 480px) {
  .user-info-card .card-header {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .user-info-card .card-header .business-name {
    font-size: 1.125rem;
  }
  .user-info-card .info-list .info-row {
    padding: 0.5rem 1rem;
  }
  .user-info-card .info-list .info-row .label {
    width: 100px;
    font-size: 0.75rem;
  }
  .user-info-card .info-list .info-row .value {
    font-size: 0.875rem;
  }
  .user-info-card .card-footer {
    padding: 1rem;
    justify-content: center;
  }
}

.current-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  border-left: 4px solid #28a745;
}
@media (max-width: 768px) {
  .current-plan {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
.current-plan .plan-info .plan-name {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #333333;
}
.current-plan .plan-info .plan-price {
  color: #667eea;
  font-weight: 600;
}
.current-plan .plan-info .plan-description {
  color: #6c757d;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
.current-plan .plan-actions {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .current-plan .plan-actions {
    justify-content: center;
  }
}

.usage-stats-card {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
}
.usage-stats-card .stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.usage-stats-card .stat-row .stat-label {
  color: #6c757d;
}
.usage-stats-card .stat-row .stat-value {
  font-weight: 600;
  color: #333333;
}
.usage-stats-card .usage-bar {
  height: 8px;
  background: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}
.usage-stats-card .usage-bar .usage-progress {
  height: 100%;
  background: #667eea;
  transition: width 0.3s ease;
}

.verification-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
}
.verification-container .verification-status p {
  margin: 0 0 0.25rem;
  font-weight: 500;
}
.verification-container .verification-status small {
  color: #6c757d;
}
.verification-container .verification-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch input:checked + .toggle-slider {
  background: #28a745;
}
.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}
.toggle-switch .toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #6c757d;
  border-radius: 26px;
  transition: 0.3s ease;
}
.toggle-switch .toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  border-radius: 50%;
  transition: 0.3s ease;
}

.danger-zone {
  border-color: rgba(220, 53, 69, 0.3);
}
.danger-zone h3 {
  color: #dc3545;
  border-bottom-color: rgba(220, 53, 69, 0.2);
}
.danger-zone .danger-action-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(220, 53, 69, 0.05);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: 8px;
}
@media (max-width: 768px) {
  .danger-zone .danger-action-item {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
.danger-zone .danger-action-item .danger-info h4 {
  color: #dc3545;
  margin-bottom: 0.25rem;
}
.danger-zone .danger-action-item .danger-info p {
  color: #6c757d;
  font-size: 0.875rem;
  margin: 0;
}

.password-form {
  max-width: 400px;
}
.password-form .form-group {
  margin-bottom: 1rem;
}

.badge, .status-badge, .severity-badge, .risk-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.risk-badge.risk-high {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}
.risk-badge.risk-medium {
  background: rgba(255, 193, 7, 0.1);
  color: #a07800;
}
.risk-badge.risk-low {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.severity-badge.severity-high {
  background: #dc3545;
  color: #ffffff;
}
.severity-badge.severity-medium {
  background: #ffc107;
  color: #333333;
}
.severity-badge.severity-low {
  background: #28a745;
  color: #ffffff;
}

.status-badge.status-active {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}
.status-badge.status-pending {
  background: rgba(255, 193, 7, 0.1);
  color: #a07800;
}
.status-badge.status-resolved {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}
.status-badge.status-disputed {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 2rem;
}
.pagination .page-btn {
  padding: 0.25rem 0.5rem;
  border: 1px solid #dee2e6;
  background: #ffffff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.pagination .page-btn:hover:not(:disabled) {
  border-color: #667eea;
  color: #667eea;
}
.pagination .page-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: #ffffff;
}
.pagination .page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading-message {
  text-align: center;
  padding: 3rem;
  color: #6c757d;
}

.empty-state {
  text-align: center;
  padding: 3rem;
}
.empty-state .empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}
.empty-state h3 {
  color: #333333;
  margin-bottom: 0.5rem;
}
.empty-state p {
  color: #6c757d;
}

/* Message animations - ADD if missing */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  to {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
}
/* Global message styling - ADD if missing */
.global-message {
  max-width: 90%;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
  .dashboard-header {
    padding: 0 1rem;
    grid-template-columns: auto 1fr auto;
  }
  .dashboard-header .header-center h1 {
    font-size: 1rem;
  }
  .dashboard-header .header-right .user-name {
    display: none;
  }
  .tabs-container {
    overflow-x: auto;
  }
  .tabs {
    padding: 0 1rem;
  }
  .tabs .tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .dashboard-content {
    padding: calc(130px + 1rem) 1rem 1rem;
  }
  .sub-tabs {
    margin: -1.5rem 1.5rem;
    padding: 0 1rem;
    overflow-x: auto;
  }
  .sub-tabs .sub-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
  }
}
@media (max-width: 480px) {
  .auth-container {
    padding: 1rem;
  }
  .auth-card {
    padding: 1.5rem;
  }
  .account-settings-nav {
    flex-direction: column;
  }
  .account-settings-nav .account-nav-btn {
    text-align: center;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
  overflow: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-overlay::-webkit-scrollbar {
  display: none;
}

.modal-container {
  overflow: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-container::-webkit-scrollbar {
  display: none;
}

.modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: visible;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease ease-in;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #e9ecef;
  position: sticky;
  top: 0;
  background: #ffffff;
  border-radius: 12px 12px 0 0;
}
.modal-header h3 {
  margin: 0;
  color: #667eea;
}
.modal-header .modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.modal-header .modal-close:hover {
  color: #dc3545;
}

.modal-body {
  padding: 2rem;
  overflow: visible;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.modal-body::-webkit-scrollbar {
  display: none;
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid #e9ecef;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: #f8f9fa;
  border-radius: 0 0 12px 12px;
}

/*# sourceMappingURL=styles.css.map */
