@import "https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;600;700;800&display=swap";
@import "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css";
/* [project]/server/src/app/globals.css [app-client] (css) */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293bb3;
  --border-color: #33415599;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary-color: #38bdf8;
  --primary-hover: #0ea5e9;
  --success-color: #10b981;
  --success-hover: #059669;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --danger-hover: #dc2626;
  --font-ar: "Cairo", sans-serif;
  --font-en: "Outfit", sans-serif;
  --transition-speed: .3s;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-ar);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.glow-bg {
  filter: blur(140px);
  opacity: .12;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  width: 600px;
  height: 600px;
  position: fixed;
}

.glow-1 {
  background: radial-gradient(circle, #0284c7 0%, #0000 70%);
  top: -150px;
  right: -100px;
}

.glow-2 {
  background: radial-gradient(circle, #7c3aed 0%, #0000 70%);
  bottom: -150px;
  left: -100px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.hidden {
  display: none !important;
}

.login-container {
  z-index: 100;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  padding: 20px;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
}

.login-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  text-align: center;
  width: 100%;
  max-width: 460px;
  animation: fadeInUp var(--transition-speed) ease;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px #0006;
}

.login-logo {
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px #38bdf866);
  margin-bottom: 20px;
  font-size: 48px;
  display: inline-block;
}

.login-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 800;
}

.login-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 14px;
}

.input-group {
  text-align: right;
  margin-bottom: 24px;
}

.input-group label {
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  display: block;
}

.input-wrapper {
  width: 100%;
  position: relative;
}

.input-wrapper i {
  color: var(--text-muted);
  font-size: 16px;
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.input-wrapper input {
  border: 1px solid var(--border-color);
  width: 100%;
  color: var(--text-main);
  transition: all var(--transition-speed) ease;
  font-size: 15px;
  font-family: var(--font-en);
  background: #0f172acc;
  border-radius: 12px;
  outline: none;
  padding: 14px 44px 14px 16px;
}

.input-wrapper input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px #38bdf826;
}

.btn {
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ar);
  border: none;
  border-radius: 12px;
  outline: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  display: inline-flex;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #0c4a6e;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 0 12px #38bdf866;
}

.btn-secondary {
  color: var(--text-main);
  border: 1px solid var(--border-color);
  background-color: #334155cc;
}

.btn-secondary:hover {
  background-color: #475569cc;
}

.btn-success {
  background-color: var(--success-color);
  color: #022c22;
}

.btn-success:hover {
  background-color: var(--success-hover);
  box-shadow: 0 0 12px #10b98166;
}

.btn-danger {
  background-color: var(--danger-color);
  color: #450a0a;
}

.btn-danger:hover {
  background-color: var(--danger-hover);
  box-shadow: 0 0 12px #ef444466;
}

.btn-block {
  width: 100%;
}

.error-msg {
  color: var(--danger-color);
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.dashboard-wrapper {
  max-width: 1400px;
  animation: fadeIn var(--transition-speed) ease;
  margin: 0 auto;
  padding: 30px 20px;
}

.main-header {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px 30px;
  display: flex;
}

.header-logo {
  align-items: center;
  gap: 16px;
  display: flex;
}

.header-icon {
  color: var(--primary-color);
  font-size: 32px;
}

.header-logo h1 {
  font-size: 20px;
  font-weight: 800;
}

.header-logo p {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
}

.header-actions {
  align-items: center;
  gap: 20px;
  display: flex;
}

.db-status-badge {
  border: 1px solid var(--border-color);
  background: #0f172a99;
  border-radius: 30px;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.status-indicator {
  border-radius: 50%;
  width: 8px;
  height: 8px;
}

.status-indicator.online {
  background-color: var(--success-color);
  box-shadow: 0 0 8px var(--success-color);
  animation: 1.5s infinite pulse;
}

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

.stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
  border-radius: 20px;
  align-items: center;
  gap: 20px;
  padding: 24px;
  display: flex;
}

.stat-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-4px);
}

.stat-card.highlight {
  background: linear-gradient(135deg, #1e293bb3 0%, #f59e0b0d 100%);
  border-color: #f59e0b66;
}

.stat-icon {
  border-radius: 16px;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
}

.icon-users {
  color: var(--primary-color);
  background: #38bdf81a;
}

.icon-pending {
  color: var(--warning-color);
  background: #f59e0b1a;
}

.icon-lawyers {
  color: var(--success-color);
  background: #10b9811a;
}

.icon-citizens {
  color: #a78bfa;
  background: #7c3aed1a;
}

.stat-content h3 {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  font-family: var(--font-en);
  margin-top: 4px;
}

.table-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px;
}

.table-controls {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  display: flex;
}

.search-box {
  width: 100%;
  max-width: 440px;
  position: relative;
}

.search-box i {
  color: var(--text-muted);
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}

.search-box input {
  border: 1px solid var(--border-color);
  width: 100%;
  color: var(--text-main);
  font-size: 14px;
  font-family: var(--font-ar);
  transition: all var(--transition-speed) ease;
  background: #0f172a99;
  border-radius: 12px;
  outline: none;
  padding: 12px 44px 12px 16px;
}

.search-box input:focus {
  border-color: var(--primary-color);
  background: #0f172acc;
}

.filter-tabs {
  gap: 8px;
  padding-bottom: 4px;
  display: flex;
  overflow-x: auto;
}

.filter-tab {
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-speed) ease;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-ar);
  background: none;
  border-radius: 30px;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  display: flex;
}

.filter-tab:hover {
  color: var(--text-main);
  border-color: var(--text-muted);
}

.filter-tab.active {
  background-color: var(--primary-color);
  color: #0c4a6e;
  border-color: var(--primary-color);
}

.badge {
  font-size: 11px;
  font-family: var(--font-en);
  background: #0f172a80;
  border-radius: 20px;
  padding: 2px 8px;
  font-weight: 700;
}

.badge-pending-count {
  color: #fef3c7;
  background: #78350f;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.users-table {
  border-collapse: collapse;
  text-align: right;
  width: 100%;
}

.users-table th {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
}

.users-table td {
  vertical-align: middle;
  border-bottom: 1px solid #3341554d;
  padding: 18px 20px;
  font-size: 14px;
}

.users-table tbody tr:hover td {
  background: #3341551a;
}

.user-info-cell {
  align-items: center;
  gap: 14px;
  display: flex;
}

.user-avatar {
  color: #fff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 2px solid #38bdf84d;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  font-size: 15px;
  font-weight: 700;
  display: flex;
}

.user-names h4 {
  color: var(--text-main);
  font-weight: 700;
}

.user-names p {
  font-family: var(--font-en);
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
}

.role-badge {
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

.role-lawyer {
  color: var(--success-color);
  background: #10b9811a;
}

.role-secretary {
  color: var(--primary-color);
  background: #38bdf81a;
}

.role-citizen {
  color: #a78bfa;
  background: #8b5cf61a;
}

.status-badge {
  border-radius: 30px;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.status-verified {
  color: #34d399;
  background: #10b98126;
}

.status-pending {
  color: #fbbf24;
  background: #f59e0b26;
  animation: 2s infinite alternate flash-border;
}

.status-not-verified {
  color: var(--text-muted);
  background: #94a3b826;
}

.status-blocked {
  color: #f87171;
  background: #ef444426;
}

.contact-cell {
  font-size: 13px;
}

.contact-cell .phone {
  font-family: var(--font-en);
  color: var(--text-main);
  display: block;
}

.contact-cell .email {
  font-family: var(--font-en);
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}

.table-loading {
  text-align: center;
  color: var(--text-muted);
  font-weight: 600;
  padding: 40px !important;
}

.modal-wrapper {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  z-index: 200;
  background: #0f172abf;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
}

.modal-card {
  border: 1px solid var(--border-color);
  width: 100%;
  max-width: 760px;
  animation: modalSlideUp var(--transition-speed) cubic-bezier(.34, 1.56, .64, 1);
  background: #1e293b;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px #00000080;
}

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

.modal-header h2 {
  font-size: 18px;
  font-weight: 800;
}

.modal-close {
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  cursor: pointer;
  width: 36px;
  height: 36px;
  transition: all var(--transition-speed) ease;
  background: #0f172a80;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.modal-close:hover {
  color: var(--text-main);
  background: #ef444433;
  border-color: #ef44444d;
}

.modal-body {
  max-height: 70vh;
  padding: 24px;
  overflow-y: auto;
}

.user-profile-header {
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.modal-user-avatar {
  color: #fff;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 3px solid #38bdf84d;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 64px;
  font-size: 24px;
  font-weight: 800;
  display: flex;
}

.modal-user-details h3 {
  font-size: 18px;
  font-weight: 800;
}

.modal-user-details p {
  font-family: var(--font-en);
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 13px;
}

.role-tag {
  color: #fff;
  background: #0ea5e9;
  border-radius: 6px;
  margin-top: 6px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  display: inline-block;
}

.info-grid {
  background: #0f172a66;
  border: 1px solid #33415566;
  border-radius: 16px;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
  display: grid;
}

.info-item {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.info-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
}

.info-value {
  font-size: 14px;
  font-weight: 700;
}

#modal-user-email, #modal-user-phone {
  font-family: var(--font-en);
}

.docs-review-section h4 {
  color: var(--primary-color);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
}

.docs-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  display: grid;
}

.doc-card {
  border: 1px solid var(--border-color);
  background: #0f172a80;
  border-radius: 16px;
  padding: 14px;
}

.doc-title {
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  overflow: hidden;
}

.doc-preview {
  border: 1px dashed var(--border-color);
  cursor: pointer;
  height: 140px;
  transition: all var(--transition-speed) ease;
  background: #0f172acc;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.doc-preview img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.doc-placeholder-icon {
  color: var(--text-muted);
  transition: color var(--transition-speed) ease;
  font-size: 32px;
}

.doc-status-msg {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
}

.doc-preview:hover {
  border-color: var(--primary-color);
}

.doc-preview:hover .doc-placeholder-icon {
  color: var(--primary-color);
}

.modal-footer {
  border-top: 1px solid var(--border-color);
  background: #0f172a4d;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  display: flex;
}

.modal-actions-right {
  gap: 12px;
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px)scale(.95);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(.95);
    box-shadow: 0 0 #10b981b3;
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px #10b98100;
  }

  100% {
    transform: scale(.95);
    box-shadow: 0 0 #10b98100;
  }
}

@keyframes flash-border {
  from {
    border-color: #f59e0b33;
    box-shadow: 0 0 #f59e0b00;
  }

  to {
    border-color: #f59e0bb3;
    box-shadow: 0 0 8px #f59e0b40;
  }
}

.animate-pulse {
  animation: 1.5s infinite heartbeat;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.1);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.1);
  }

  70% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  .main-header {
    text-align: center;
    flex-direction: column;
    gap: 16px;
  }

  .header-logo {
    flex-direction: column;
  }

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

  .modal-footer {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .modal-actions-right {
    justify-content: stretch;
    width: 100%;
  }

  .modal-actions-right button {
    flex: 1;
  }

  .modal-footer .btn-danger {
    width: 100%;
  }
}

.dashboard-nav {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 10px 16px;
  display: flex;
}

.nav-tab {
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-ar);
  background: none;
  border: none;
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  display: inline-flex;
}

.nav-tab:hover {
  color: var(--text-main);
  background: #ffffff08;
}

.nav-tab.active {
  background-color: var(--primary-color);
  color: #0c4a6e;
}

.links-workspace {
  grid-template-columns: 340px 1fr;
  align-items: start;
  gap: 20px;
  display: grid;
}

@media (max-width: 990px) {
  .links-workspace {
    grid-template-columns: 1fr;
  }
}

.link-form-container {
  position: sticky;
  top: 20px;
}

.form-header {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
  padding-bottom: 12px;
}

.form-header h2 {
  color: var(--primary-color);
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 800;
  display: flex;
}

.form-header p {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 12px;
}

.admin-form {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.form-group-panel {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.form-group-panel label {
  color: var(--text-muted);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.form-group-panel input, .form-group-panel select {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  transition: all var(--transition-speed) ease;
  font-size: 14px;
  font-family: var(--font-ar);
  background: #0f172a99;
  border-radius: 10px;
  outline: none;
  padding: 12px;
}

.form-group-panel input:focus, .form-group-panel select:focus {
  border-color: var(--primary-color);
  background: #0f172acc;
}

.form-group-panel select {
  cursor: pointer;
}

.form-buttons {
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  display: flex;
}

.admin-links-list {
  flex-direction: column;
  gap: 20px;
  margin-top: 10px;
  display: flex;
}

.gov-group {
  border-bottom: 1px dashed #ffffff0d;
  padding-bottom: 20px;
}

.gov-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gov-group-title {
  color: var(--primary-color);
  border-right: 3px solid var(--primary-color);
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding-right: 10px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
}

.gov-group-title span {
  color: var(--primary-color);
  font-size: 11px;
  font-family: var(--font-en);
  background: #38bdf81a;
  border-radius: 12px;
  padding: 2px 8px;
  font-weight: 700;
}

.links-grid {
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 16px;
  display: grid;
}

.admin-link-card {
  border: 1px solid var(--border-color);
  min-height: 130px;
  transition: all var(--transition-speed) ease;
  background: #0f172a66;
  border-radius: 12px;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  display: flex;
}

.admin-link-card:hover {
  background: #0f172a99;
  border-color: #38bdf866;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px #0003;
}

.link-card-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.link-title {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.platform-badge {
  white-space: nowrap;
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
}

.platform-telegram {
  color: #38bdf8;
  background: #229ed926;
}

.platform-drive {
  color: #34d399;
  background: #10b98126;
}

.platform-website {
  color: #fbbf24;
  background: #f59e0b26;
}

.link-url-text {
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-en);
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  direction: ltr;
  background: #0f172a4d;
  border-radius: 6px;
  margin: 12px 0;
  padding: 6px 10px;
  overflow: hidden;
}

.link-card-footer {
  border-top: 1px solid #ffffff0a;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  display: flex;
}

.link-external-btn {
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.link-external-btn:hover {
  color: var(--text-main);
}

.link-actions-group {
  gap: 6px;
  display: flex;
}

.btn-link-action {
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-ar);
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
}

.btn-link-edit {
  color: var(--primary-color);
  background: #38bdf81a;
}

.btn-link-edit:hover {
  background: var(--primary-color);
  color: #0c4a6e;
}

.btn-link-delete {
  color: var(--danger-color);
  background: #ef44441a;
}

.btn-link-delete:hover {
  background: var(--danger-color);
  color: #450a0a;
}

.toast-container {
  z-index: 9999;
  pointer-events: none;
  flex-direction: column;
  gap: 12px;
  width: calc(100% - 48px);
  max-width: 400px;
  display: flex;
  position: fixed;
  top: 24px;
  left: 24px;
}

.toast {
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-ar);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  pointer-events: auto;
  background: #0f172af2;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  transition: all .3s;
  animation: .35s cubic-bezier(.34, 1.56, .64, 1) forwards toastSlideIn;
  display: flex;
  box-shadow: 0 12px 30px #0006;
}

.toast.success {
  color: #34d399;
  background: #10b9811f;
  border-color: #10b98166;
}

.toast.error {
  color: #fca5a5;
  background: #ef44441f;
  border-color: #ef444466;
}

.toast.info {
  color: #38bdf8;
  background: #38bdf81f;
  border-color: #38bdf866;
}

.toast i {
  flex-shrink: 0;
  font-size: 16px;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px)scale(.9);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.toast.fade-out {
  opacity: 0;
  transform: translateY(-20px)scale(.9);
}

.confirm-card {
  border: 1px solid #ffffff1a;
  background: radial-gradient(circle at top, #1e293b 0%, #0f172a 100%) !important;
  max-width: 440px !important;
  padding: 0 !important;
}

.confirm-modal-header {
  position: relative;
  border-bottom: 1px solid #ffffff0d !important;
  justify-content: center !important;
  padding: 20px 24px !important;
}

.confirm-modal-header h2 {
  color: var(--text-main);
  font-size: 16px !important;
  font-weight: 750 !important;
}

.confirm-modal-header .modal-close {
  position: absolute;
  top: 14px;
  left: 20px;
}

.confirm-modal-body {
  flex-direction: column;
  align-items: center;
  gap: 16px;
  display: flex;
  padding: 32px 24px !important;
}

.confirm-icon-wrapper {
  justify-content: center;
  align-items: center;
  height: 56px;
  margin-bottom: 4px;
  font-size: 52px;
  display: flex;
}

.confirm-modal-body p {
  color: var(--text-main);
  text-align: center;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.confirm-modal-footer {
  background: #0f172a4d;
  gap: 12px;
  border-top: 1px solid #ffffff0d !important;
  justify-content: center !important;
  padding: 18px 24px !important;
}

.confirm-modal-footer .btn {
  border-radius: 12px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-width: 110px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

/*# sourceMappingURL=server_src_app_globals_0wi9x-o.css.map*/