:root {
  --primary-500: #2563eb;
  --primary-600: #1e40af;
  --primary-700: #1e3a8a;
  --surface: #ffffff;
  --muted: #6c757d;
  --bg-auth-start: #3b82f6;
  --bg-auth-end: #8b5cf6;
  --accent-500: #10b981;
  --accent-600: #059669;
  --hero-overlay-1: rgba(255,255,255,.12);
  --hero-overlay-2: rgba(255,255,255,.18);
  --shadow-strong: 0 20px 60px rgba(37, 99, 235, 0.25);
  --shadow-soft-2: 0 12px 36px rgba(0,0,0,0.12);
  --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

body {
  font-family: 'Tajawal', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  min-height: 100vh;
}

.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--bg-auth-start), var(--bg-auth-end));
  display: flex;
  align-items: center;
}

.auth-card {
  max-width: 420px;
}

.card.shadow-soft {
  border: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.brand-badge {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(13, 110, 253, 0.1);
  color: var(--primary-500);
  border-radius: 12px;
}

/* Admin Dashboard Cards - ENHANCED */
.stat-card {
  border: 2px solid rgba(37,99,235,.12) !important;
  box-shadow: 0 12px 32px rgba(37,99,235,0.12);
  border-radius: 20px !important;
  transition: all .25s ease;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(closest-side, rgba(37,99,235,.08), transparent);
  border-radius: 50%;
  transform: translate(30%, -30%);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(37,99,235,0.18);
  border-color: var(--primary-500) !important;
}
.stat-card .icon {
  width: 56px; 
  height: 56px;
  display: grid; 
  place-items: center;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}
.stat-card .value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-700);
  position: relative;
  z-index: 1;
}
.stat-card .text-muted-2 {
  font-weight: 600;
  font-size: .95rem;
}
.text-muted-2 { color: #7c8a9a !important; }

/* Admin Navbar - ENHANCED */
.navbar { 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%) !important;
  border-bottom: 3px solid rgba(255,255,255,.15);
  backdrop-filter: saturate(120%) blur(6px);
  position: sticky; top: 0; z-index: 1030;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .3px;
  text-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.navbar .nav-link {
  font-weight: 600;
  transition: all .2s ease;
  border-radius: 999px;
  padding: .45rem .9rem !important;
  margin: 0 .15rem;
  display: inline-flex; align-items: center; gap: .35rem;
}
.navbar .nav-link:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-1px);
}
.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  background: rgba(255,255,255,.25);
  box-shadow: 0 6px 18px rgba(0,0,0,.12) inset;
}
.navbar .badge {
  font-size: .7rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  font-weight: 700;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.navbar .btn {
  border-radius: 999px;
  font-weight: 600;
  transition: all .2s ease;
  padding: .4rem 1rem;
}
.navbar .btn:hover {
  transform: translateY(-1px) scale(1.03);
}

/* Public report page styles - ENHANCED */
.hero-report {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 4rem 0 !important;
  box-shadow: 0 8px 32px rgba(37,99,235,.2);
}
.hero-report .brand-badge {
  width: 72px; height: 72px; border-radius: 20px;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.hero-report .app-logo {
  width: 96px; height: 96px; object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.2));
}
@media (min-width: 992px) {
  .hero-report .app-logo { width: 120px; height: 120px; }
}
.hero-report .title {
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.hero-report .lab-name {
  font-weight: 800;
  font-size: 1.75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.hero-report::before,
.hero-report::after{
  content:"";
  position:absolute;
  inset:auto auto -140px -140px;
  width:360px; height:360px;
  background: radial-gradient(closest-side, var(--hero-overlay-2), transparent 70%);
  filter: blur(8px);
  transform: rotate(15deg);
}
.hero-report::after{
  inset:-160px -160px auto auto;
  width:420px; height:420px;
  background: radial-gradient(closest-side, var(--hero-overlay-1), transparent 72%);
  transform: rotate(-10deg);
}
.hero-report .btn{
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  font-weight: 600;
  padding: .75rem 2rem !important;
  letter-spacing: .3px;
  transition: all .2s ease;
}
.hero-report .btn.btn-light{
  color: #1e293b;
  background: #ffffff;
  border: 2px solid transparent;
}
.hero-report .btn.btn-outline-light{
  color: #ffffff;
  border: 2px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
.hero-report .btn.btn-outline-light:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.7);
}
.hero-report .btn.btn-success{
  background: var(--gradient-accent);
  border: none;
  color: #fff;
}
.hero-report .btn:hover{
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-strong);
}

.filter-card {
  background: #ffffff;
  backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,.6);
  box-shadow: 0 16px 48px rgba(37,99,235,.15);
  border-radius: 24px;
  padding: 2rem !important;
}
.filter-card .form-control{
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  padding: .75rem 1rem;
  transition: all .2s ease;
}
.filter-card .form-control:focus{
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.filter-card .input-group-text{
  border-radius: 16px;
  border: 2px solid #e2e8f0;
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(139,92,246,.06));
  color: var(--primary-600);
  font-weight: 600;
}
.filter-card .btn{
  border-radius: 16px;
  padding: .75rem 1.5rem;
  font-weight: 600;
}

.file-card .chip {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .5rem;
  background: rgba(13,110,253,.08);
  color: var(--primary-600);
  border: 1px solid rgba(13,110,253,.15);
  border-radius: 999px;
  font-size: .85rem;
}
.bg-primary-subtle {
  background: rgba(13,110,253,.08) !important;
}

.file-card{
  border: 2px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  transition: all .25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.file-card:hover{
  transform: translateY(-6px);
  border-color: var(--primary-500);
  box-shadow: 0 20px 48px rgba(37,99,235,.18);
}
.file-card .card-body{
  padding: 1.5rem;
}
.file-card .btn{
  border-radius: 14px;
  font-weight: 600;
  transition: all .2s ease;
}
.file-card .btn-primary{
  background: var(--gradient-primary);
  border: none;
}
.file-card .btn-primary:hover{
  transform: scale(1.05);
}
.file-card .btn-outline-success{
  border: 2px solid var(--accent-500);
  color: var(--accent-600);
}
.file-card .btn-outline-success:hover{
  background: var(--gradient-accent);
  border-color: var(--accent-500);
  color: #fff;
  transform: scale(1.08);
}
.file-card .btn-outline-warning{
  border: 2px solid #f59e0b;
  color: #d97706;
}
.file-card .btn-outline-warning:hover{
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-color: #f59e0b;
  color: #fff;
  transform: scale(1.08);
}

.patient-header {
  background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(139,92,246,.12));
  border: 2px solid rgba(59,130,246,.25);
  padding: 1rem 1.5rem;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(37,99,235,.08);
}
.patient-header .patient-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-700);
}
.patient-header .patient-count {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 2px solid var(--primary-500);
  color: var(--primary-600);
  font-weight: 700;
  padding: .4rem .8rem;
  box-shadow: 0 2px 8px rgba(37,99,235,.15);
}

/* Contact & Support Cards - ENHANCED */
.card.border-0.shadow-sm {
  border: 2px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,.08) !important;
  transition: all .25s ease;
}
.card.border-0.shadow-sm:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(37,99,235,.12) !important;
  border-color: rgba(59,130,246,.3) !important;
}

/* Subtle animated accents */
@keyframes floaty {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}
.hero-report .app-logo{
  animation: floaty 4.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.hero-report::before {
  animation: shimmer 8s linear infinite;
  background-size: 200% 100%;
}


/* Region dashboard mobile improvements */
@media (max-width: 576px) {
  .page-actions .btn { width: 100%; }
}

/* Stack table rows on small screens */
@media (max-width: 768px) {
  table.table-stacked thead {
    display: none;
  }
  table.table-stacked tbody tr {
    display: block;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,.04);
    background: #fff;
    margin-bottom: .75rem;
    padding: .5rem .5rem;
  }
  table.table-stacked tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .4rem .5rem !important;
    border: none !important;
  }
  table.table-stacked tbody td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #6c757d;
  }
  table.table-stacked tbody td [class*="btn"] {
    padding: .35rem .5rem;
  }
  table.table-stacked tbody td[data-label="التقارير"],
  table.table-stacked tbody td[data-label="الشكاوى"] {
    align-items: center;
    gap: .5rem;
    flex-wrap: nowrap;
    display: inline-flex;
    width: 100%;
    justify-content: flex-start;
  }
  table.table-stacked tbody td[data-label="التقارير"]::before,
  table.table-stacked tbody td[data-label="الشكاوى"]::before {
    display: none;
  }
  table.table-stacked tbody td[data-label="الاسم"] {
    font-weight: 800;
    font-size: 1.05rem;
  }
  .lab-name-mobile { display: inline-block; line-height: 1.3; }
}

/* Sticky filter on mobile */
@media (max-width: 768px) {
  .filter-sticky {
    position: sticky;
    top: 56px; /* below navbar */
    z-index: 1020;
    background: #f8f9fa;
    padding-top: .5rem;
  }
}

/* Mobile lab cards */
.lab-card { border: 1px solid #e9ecef; }
.lab-card .lab-name { font-weight: 800; font-size: 1.05rem; }
.chip {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .15rem .5rem; border-radius: 999px; font-size: .85rem;
  border: 1px solid rgba(13,110,253,.2); color: var(--primary-600);
  background: rgba(13,110,253,.08);
}
.chip-username { border-color: rgba(25,135,84,.25); color: #198754; background: rgba(25,135,84,.08); }
.chip-muted { border-color: #e1e5ea; color: #6c757d; background: #f8f9fa; }

/* Admin Pages - Tables & Cards ENHANCED */
.container > .card {
  border: 2px solid #e2e8f0 !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 36px rgba(0,0,0,.08) !important;
  overflow: hidden;
  transition: all .25s ease;
}
.container > .card:hover {
  box-shadow: 0 16px 48px rgba(37,99,235,.12) !important;
  border-color: rgba(59,130,246,.3) !important;
}
.container > .card > .card-body {
  padding: 2rem;
}
.container > .card .card-footer {
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-top: 2px solid #e2e8f0;
}

/* Admin Tables ENHANCED */
.table {
  border-collapse: separate;
  border-spacing: 0;
}
.table thead th {
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(139,92,246,.06));
  color: var(--primary-700);
  font-weight: 700;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .5px;
  border: none !important;
  padding: 1rem;
}
.table tbody tr {
  transition: all .15s ease;
  border-bottom: 1px solid #e2e8f0;
}
.table tbody tr:hover {
  background: rgba(37,99,235,.04);
  transform: scale(1.005);
}
.table tbody td {
  padding: 1rem;
  vertical-align: middle;
  border: none !important;
}

/* Admin Buttons ENHANCED */
.btn {
  border-radius: 12px;
  font-weight: 600;
  transition: all .2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.btn-primary {
  background: var(--gradient-primary);
  border: none;
}
.btn-success {
  background: var(--gradient-accent);
  border: none;
}
.btn-outline-primary:hover {
  background: var(--gradient-primary);
}
.btn-sm {
  padding: .4rem .8rem;
  font-size: .875rem;
}

/* Admin Page Titles */
.container h1, .container h2, .container h3, .container h4 {
  color: var(--primary-700);
  font-weight: 800;
}

/* Admin Forms ENHANCED */
.form-control, .form-select {
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: .65rem 1rem;
  transition: all .2s ease;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.form-label {
  font-weight: 600;
  color: var(--primary-700);
  margin-bottom: .5rem;
}

/* Admin Alerts ENHANCED */
.alert {
  border-radius: 16px;
  border: 2px solid;
  font-weight: 600;
  padding: 1rem 1.25rem;
}
.alert-success {
  background: linear-gradient(135deg, rgba(16,185,129,.08), rgba(5,150,105,.06));
  border-color: var(--accent-500);
  color: var(--accent-600);
}
.alert-danger {
  background: linear-gradient(135deg, rgba(239,68,68,.08), rgba(220,38,38,.06));
  border-color: #ef4444;
  color: #dc2626;
}
.alert-info {
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(139,92,246,.06));
  border-color: var(--primary-500);
  color: var(--primary-700);
}

/* Admin Icons & Badges */
.bi {
  transition: all .2s ease;
}
.card .bi, .btn .bi {
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.1));
}

/* Admin Badge Styles */
.badge {
  font-weight: 700;
  padding: .35rem .75rem;
  border-radius: 999px;
  letter-spacing: .3px;
}
.badge.bg-warning {
  background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
  color: #78350f !important;
}
.badge.bg-success {
  background: var(--gradient-accent) !important;
}
.badge.bg-danger {
  background: linear-gradient(135deg, #f87171, #ef4444) !important;
}
.badge.bg-info {
  background: var(--gradient-primary) !important;
}

/* Pagination ENHANCED */
.pagination {
  gap: .5rem;
}
.pagination .page-link {
  border-radius: 12px !important;
  border: 2px solid #e2e8f0;
  color: var(--primary-600);
  font-weight: 600;
  padding: .5rem .85rem;
  transition: all .2s ease;
  margin: 0 !important;
}
.pagination .page-link:hover {
  background: var(--gradient-primary);
  color: #fff;
  border-color: var(--primary-500);
  transform: translateY(-2px);
}
.pagination .page-item.active .page-link {
  background: var(--gradient-primary);
  border-color: var(--primary-500);
  box-shadow: 0 4px 12px rgba(37,99,235,.25);
}

/* Dropdown Menus ENHANCED */
.dropdown-menu {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,.12);
  padding: .5rem;
}
.dropdown-item {
  border-radius: 10px;
  font-weight: 600;
  transition: all .15s ease;
  padding: .65rem 1rem;
}
.dropdown-item:hover {
  background: rgba(37,99,235,.08);
  color: var(--primary-700);
}

/* Modal ENHANCED */
.modal-content {
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.modal-header {
  border-bottom: 2px solid #e2e8f0;
  padding: 1.5rem 2rem;
}
.modal-body {
  padding: 2rem;
}
.modal-footer {
  border-top: 2px solid #e2e8f0;
  padding: 1.25rem 2rem;
}

/* Input Groups ENHANCED */
.input-group-text {
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(139,92,246,.06));
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 600;
  color: var(--primary-700);
}

/* Admin Container */
.container {
  max-width: 1400px;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Admin Page Header */
.container > .row > .col-12 > .d-flex {
  margin-bottom: 2rem !important;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(37,99,235,.06), rgba(139,92,246,.04));
  border-radius: 20px;
  border: 2px solid rgba(37,99,235,.12);
}
.container h1, .container h4 {
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-500), var(--primary-600));
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-700);
}

/* Section Headers */
.section-header {
  position: relative;
  padding-bottom: 12px;
}
.section-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), transparent);
  border-radius: 2px;
}
.section-header h2 {
  font-weight: 700;
  margin: 0;
}

/* Sticky Navigation */
.sticky-top {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

/* Announcement Bar - Scrolling News Ticker */
.announcement-bar-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  font-weight: 600;
  font-size: 1rem;
}

.announcement-bar-content {
  display: flex;
  animation: scroll-announcement 15s linear infinite;
  white-space: nowrap;
}

.announcement-text {
  padding: 0 50px;
  display: inline-block;
}

@keyframes scroll-announcement {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.announcement-bar-wrapper:hover .announcement-bar-content {
  animation-play-state: paused;
}

/* Responsive font size */
@media (max-width: 768px) {
  .announcement-bar-wrapper {
    font-size: 0.9rem;
    padding: 10px 0;
  }
  .announcement-text {
    padding: 0 30px;
  }
}

/* Offers Card Styling */
.offer-card {
  border: 2px solid #e9ecef !important;
  border-radius: 16px !important;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
  border-color: var(--primary-500) !important;
}

.offer-image-wrapper {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
}

.offer-image {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
  transition: transform 0.3s ease;
  padding: 10px;
  background: white;
}

.offer-card:hover .offer-image {
  transform: scale(1.05);
}

.offer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
  animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.offer-no-image {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.offer-card .card-body {
  padding: 1.5rem;
}

.offer-card .card-title {
  color: var(--gray-900);
  font-size: 1.1rem;
  line-height: 1.4;
}

.offer-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Offers */
@media (max-width: 768px) {
  .offer-image-wrapper {
    height: 220px;
  }
  
  .offer-card .card-body {
    padding: 1.25rem;
  }
  
  .offer-card .card-title {
    font-size: 1rem;
  }
}

/* Suspended Tests Card Styling */
.suspended-test-card {
  background: linear-gradient(135deg, #fff9e6 0%, #fff5cc 100%);
  border: 3px solid #ffc107;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.15);
  position: relative;
  overflow: hidden;
}

.suspended-test-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.suspended-test-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(255, 193, 7, 0.25);
  border-color: #f57c00;
}

.suspended-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff9800, #f57c00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.3);
}

.suspended-icon i {
  font-size: 1.75rem;
  color: white;
  animation: shake 2s infinite;
}

@keyframes shake {
  0%, 100% {
    transform: rotate(0deg);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: rotate(-10deg);
  }
  20%, 40%, 60%, 80% {
    transform: rotate(10deg);
  }
}

.suspended-content {
  position: relative;
  z-index: 1;
}

.suspended-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f57c00;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(245, 124, 0, 0.1);
}

.suspended-reason {
  display: flex;
  align-items: start;
  background: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border-left: 4px solid #ff9800;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.suspended-reason i {
  flex-shrink: 0;
  color: #ff9800;
  margin-top: 2px;
}

.suspended-reason span {
  flex: 1;
}

/* Responsive Suspended Tests */
@media (max-width: 768px) {
  .suspended-test-card {
    padding: 1.5rem;
  }
  
  .suspended-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }
  
  .suspended-icon i {
    font-size: 1.5rem;
  }
  
  .suspended-title {
    font-size: 1.3rem;
  }
  
  .suspended-reason {
    padding: 0.65rem 0.85rem;
    font-size: 0.9rem;
  }
}

/* Alert Card Styling */
.alert-card {
  border: 3px solid;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.alert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.alert-content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0;
  min-height: 180px;
}

.alert-image-wrapper {
  flex-shrink: 0;
  width: 280px;
  height: 100%;
  min-height: 180px;
  overflow: hidden;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.alert-card:hover .alert-image {
  transform: scale(1.05);
}

.alert-content {
  flex: 1;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.alert-content-full {
  width: 100%;
}

.alert-header {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.alert-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.alert-icon-badge i {
  font-size: 1.5rem;
  color: white;
}

.alert-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.alert-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: #212529;
  margin: 0;
  line-height: 1.3;
}

.alert-priority-badge {
  font-size: 0.85rem;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  align-self: flex-start;
}

.alert-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #424242;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border-right: 4px solid rgba(0, 0, 0, 0.1);
}

/* Responsive Alerts */
@media (max-width: 768px) {
  .alert-content-wrapper {
    flex-direction: column;
    min-height: auto;
  }
  
  .alert-image-wrapper {
    width: 100%;
    height: 200px;
    min-height: 200px;
  }
  
  .alert-content {
    padding: 1.25rem;
  }
  
  .alert-icon-badge {
    width: 45px;
    height: 45px;
  }
  
  .alert-icon-badge i {
    font-size: 1.3rem;
  }
  
  .alert-title {
    font-size: 1.2rem;
  }
  
  .alert-body {
    font-size: 0.95rem;
    padding: 0.85rem;
  }
}

/* Price Card Styling */
.price-card {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-500);
}

.price-card-header {
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.price-number {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-value {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.price-currency {
  font-size: 1.15rem;
  font-weight: 600;
  opacity: 0.9;
}

.price-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-test-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 0;
  line-height: 1.4;
  min-height: 2.8rem;
}

.price-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: auto;
}

.price-detail-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1rem;
  color: #666;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  border-right: 3px solid #e9ecef;
}

.price-detail-item i {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.price-detail-item span {
  flex: 1;
  font-weight: 500;
}

/* Responsive Prices */
@media (max-width: 768px) {
  .price-card-header {
    padding: 1.25rem 1.5rem;
  }
  
  .price-value {
    font-size: 2.2rem;
  }
  
  .price-currency {
    font-size: 1.05rem;
  }
  
  .price-card-body {
    padding: 1.25rem;
  }
  
  .price-test-name {
    font-size: 1.15rem;
    min-height: auto;
  }
  
  .price-detail-item {
    font-size: 0.95rem;
    padding: 0.45rem 0.65rem;
  }
  
  .price-detail-item i {
    font-size: 1rem;
  }
}

/* Quick Navigation Buttons */
.quick-nav-btn {
  border-width: 2px !important;
  border-radius: 12px !important;
  transition: all 0.3s ease;
  min-height: 120px;
  text-decoration: none;
}

.quick-nav-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.quick-nav-btn i {
  transition: transform 0.3s ease;
}

.quick-nav-btn:hover i {
  transform: scale(1.15);
}

.quick-nav-btn small {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .quick-nav-btn {
    min-height: 100px;
  }
  
  .quick-nav-btn i {
    font-size: 1.8rem !important;
  }
  
  .quick-nav-btn span {
    font-size: 0.9rem;
  }
}

