/**
 * Real Estate Institute Admin Dashboard - CSS
 * Modern, clean UI with accessibility first
 */

/* ============================================================ */
/* Layout & Grid */
/* ============================================================ */

.admin-body {
  background: #fafafa;
  color: #1f2937;
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
}

.admin-header {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.admin-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.admin-logo h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  color: #2563eb;
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.admin-greeting {
  font-size: 0.95rem;
  color: #6b7280;
}

/* ============================================================ */
/* Authentication Modal */
/* ============================================================ */

.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.auth-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  animation: slideUp 0.3s ease;
}

.auth-header {
  margin-bottom: 2rem;
  text-align: center;
}

.auth-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.auth-header p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  color: #9ca3af;
  font-size: 0.85rem;
}

.auth-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}

/* ============================================================ */
/* Main Dashboard Layout */
/* ============================================================ */

.admin-main {
  flex: 1;
  display: flex;
}

.admin-sidebar {
  width: 280px;
  background: white;
  border-right: 1px solid #e5e7eb;
  padding: 2rem 0;
  position: fixed;
  left: 0;
  top: 65px;
  height: calc(100vh - 65px);
  overflow-y: auto;
  z-index: 50;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.nav-item:hover {
  color: #2563eb;
  background: #f0f4ff;
}

.nav-item.active {
  color: #2563eb;
  background: #f0f4ff;
  border-left: 3px solid #2563eb;
  padding-left: calc(1.5rem - 3px);
}

.nav-icon {
  font-size: 1.25rem;
}

.admin-content {
  flex: 1;
  padding: 2rem 1.5rem;
  overflow-y: auto;
  margin-left: 280px;
}

/* ============================================================ */
/* Section Styling */
/* ============================================================ */

.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 600;
}

.text-muted {
  color: #9ca3af;
  font-size: 0.95rem;
  margin: 0;
}

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

/* ============================================================ */
/* Stats Cards */
/* ============================================================ */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.stat-subtext {
  font-size: 0.85rem;
  color: #d1d5db;
}

.refresh-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

/* ============================================================ */
/* Signups Table */
/* ============================================================ */

.signups-controls {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.search-input {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
}

.search-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-select {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  background: white;
  color: #1f2937;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.signups-table-wrapper {
  background: white;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.signups-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.signups-table thead {
  background: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.signups-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.signups-table td {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  color: #1f2937;
}

.signups-table tbody tr:hover {
  background: #f9fafb;
}

.loading-row {
  color: #9ca3af;
  font-style: italic;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.badge-yes {
  background: #d1fae5;
  color: #065f46;
}

.badge-no {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================================ */
/* Pagination */
/* ============================================================ */

.table-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.pagination-info {
  color: #6b7280;
  font-size: 0.95rem;
}

.pagination-controls {
  display: flex;
  gap: 0.5rem;
}

/* ============================================================ */
/* Export Cards */
/* ============================================================ */

.export-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.export-card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
}

.export-card:hover {
  border-color: #2563eb;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.1);
}

.export-icon {
  font-size: 3rem;
  line-height: 1;
}

.export-card h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #1f2937;
}

.export-card p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.export-info {
  color: #9ca3af;
  font-size: 0.9rem;
}

.export-notes {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
  margin-bottom: 2rem;
}

.export-notes h4 {
  margin: 0 0 1rem;
  color: #1f2937;
  font-size: 1.1rem;
}

.export-notes ul {
  margin: 0;
  padding-left: 1.5rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
}

.export-notes li {
  margin-bottom: 0.5rem;
}

.export-schedule {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.export-schedule h4 {
  margin: 0 0 0.5rem;
  color: #1f2937;
  font-size: 1.1rem;
}

.export-schedule p {
  margin: 0 0 1rem;
  color: #9ca3af;
  font-size: 0.95rem;
}

/* ============================================================ */
/* Buttons */
/* ============================================================ */

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  text-decoration: none;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #2563eb;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #1d4ed8;
}

.btn-secondary {
  background: #e5e7eb;
  color: #1f2937;
}

.btn-secondary:hover:not(:disabled) {
  background: #d1d5db;
}

.btn-logout {
  padding: 0.5rem 1rem;
  background: #fee2e2;
  color: #991b1b;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  background: #fecaca;
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn-delete {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-delete:hover {
  background-color: #dc2626;
  transform: scale(1.05);
}

.btn-delete:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
  transform: scale(1);
}

/* ============================================================ */
/* Toast Notifications */
/* ============================================================ */

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  pointer-events: none;
}

.toast {
  background: white;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  animation: slideInRight 0.3s ease;
  pointer-events: auto;
}

.toast.success {
  border-left: 4px solid #10b981;
  color: #065f46;
}

.toast.error {
  border-left: 4px solid #ef4444;
  color: #7f1d1d;
}

.toast.info {
  border-left: 4px solid #3b82f6;
  color: #1e3a8a;
}

/* ============================================================ */
/* View Sections */
/* ============================================================ */

.view-section {
  display: none;
  animation: fadeIn 0.3s ease;
}

.view-section.active {
  display: block;
}

/* ============================================================ */
/* Animations */
/* ============================================================ */

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================================ */
/* Responsive Design */
/* ============================================================ */

@media (max-width: 1024px) {
  .admin-sidebar {
    width: 220px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .signups-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .admin-main {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    position: sticky;
    top: 65px;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 0;
  }

  .admin-nav {
    flex-direction: row;
    overflow-x: auto;
    padding: 0;
  }

  .nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 1rem 1.5rem;
  }

  .admin-content {
    padding: 1.5rem 1rem;
  }

  .admin-header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .admin-user {
    width: 100%;
    justify-content: space-between;
  }

  .signups-table {
    font-size: 0.85rem;
  }

  .signups-table th,
  .signups-table td {
    padding: 0.75rem;
  }

  .table-pagination {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .export-options {
    grid-template-columns: 1fr;
  }

  .toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }

  .toast {
    min-width: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .admin-header {
    padding: 0.75rem;
  }

  .admin-container {
    padding: 0 1rem;
  }

  .admin-logo h1 {
    font-size: 1.5rem;
  }

  .admin-content {
    padding: 1rem;
  }

  .auth-card {
    padding: 1.5rem;
  }

  .stats-grid {
    gap: 1rem;
  }

  .stat-card {
    gap: 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

/* ============================================================ */
/* Modal Styles */
/* ============================================================ */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #1f2937;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.2s;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #1f2937;
}

.seminar-form {
  padding: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.form-group input[type="checkbox"] {
  margin-right: 0.5rem;
}

.form-group label span {
  font-weight: 400;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-actions button {
  flex: 1;
}

.form-error {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.btn-danger {
  background: #ef4444;
  color: white;
}

.btn-danger:hover {
  background: #dc2626;
}

.seminars-table-wrapper {
  overflow-x: auto;
}

.seminars-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.seminars-table thead {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.seminars-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.seminars-table td {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.seminars-table tbody tr:hover {
  background: #f9fafb;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: inline-block;
  margin-right: 0.5rem;
}

/* ============================================================ */
/* Image Upload Styles */
/* ============================================================ */

.image-upload-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.image-upload-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.image-upload-buttons .btn {
  margin: 0;
}

.image-upload-buttons small {
  color: #6b7280;
  font-size: 0.75rem;
}

/* ============================================================ */
/* Quill Editor Styles */
/* ============================================================ */

.quill-editor {
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  min-height: 250px;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
}

.ql-toolbar {
  border: 1px solid #d1d5db;
  border-bottom: none;
  border-radius: 0.375rem 0.375rem 0 0;
  background: #f9fafb;
}

.ql-toolbar.ql-snow {
  padding: 0.5rem;
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.ql-container {
  border: 1px solid #d1d5db;
  border-top: none;
  border-radius: 0 0 0.375rem 0.375rem;
  font-family: 'Inter', sans-serif;
}

.ql-container.ql-snow {
  border-top: 1px solid #d1d5db;
}

.ql-editor {
  min-height: 200px;
  padding: 1rem;
  font-size: 0.875rem;
  color: #1f2937;
}

.ql-editor.ql-blank::before {
  color: #9ca3af;
  font-style: italic;
}

.ql-editor p,
.ql-editor ol,
.ql-editor ul,
.ql-editor pre,
.ql-editor blockquote {
  margin-bottom: 0.5rem;
}

.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar.ql-snow button:hover,
.ql-snow .ql-toolbar.ql-snow button.ql-active {
  color: #2563eb;
}

.ql-snow .ql-stroke {
  stroke: #6b7280;
}

.ql-snow .ql-fill,
.ql-snow .ql-stroke.ql-fill {
  fill: #6b7280;
}

.ql-toolbar.ql-snow .ql-picker-label {
  color: #6b7280;
}

/* ============================================================ */
/* Change Password Form */
/* ============================================================ */

.change-password-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

.change-password-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.change-password-form label {
  font-weight: 500;
  color: #1f2937;
  font-size: 0.95rem;
}

.change-password-form .form-input {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
}

.change-password-form .form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.change-password-form .form-hint {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-top: 0.25rem;
}

.change-password-form .form-actions {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.change-password-form .form-actions .btn {
  flex: 1;
}

.change-password-form .form-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  text-align: center;
}

/* Registration Management */
.registrations-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: center;
}

.registrations-table-wrapper {
  overflow-x: auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.registrations-table thead {
  background: #F9FAFB;
  border-bottom: 2px solid #E5E7EB;
}

.registrations-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.registrations-table td {
  padding: 12px;
  border-bottom: 1px solid #F3F4F6;
}

.registrations-table tbody tr:hover {
  background: #F9FAFB;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.status-pending {
  background: #FEF3C7;
  color: #92400E;
}

.status-proof_uploaded {
  background: #DBEAFE;
  color: #1E40AF;
}

.status-confirmed {
  background: #D1FAE5;
  color: #065F46;
}

.status-cancelled {
  background: #FEE2E2;
  color: #991B1B;
}

.view-proof-btn {
  color: #2563EB;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

.view-proof-btn:hover {
  color: #1D4ED8;
}

.actions-cell {
  display: flex;
  gap: 8px;
  align-items: center;
}

.btn-action {
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-confirm {
  background: #10B981;
  color: white;
}

.btn-confirm:hover {
  background: #059669;
}

.btn-cancel {
  background: #EF4444;
  color: white;
}

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

.btn-resend {
  background: #3B82F6;
  color: white;
}

.btn-resend:hover {
  background: #2563EB;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}

.stat-pending {
  border-left: 4px solid #F59E0B;
}

.stat-proof {
  border-left: 4px solid #3B82F6;
}

.stat-confirmed {
  border-left: 4px solid #10B981;
}

.seminar-title {
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .registrations-controls {
    flex-wrap: wrap;
  }
}

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