:root {
  --primary: #0d6efd;
  --primary-dark: #0b5ed7;
  --page: #f6f7fb;          /* Solid page background fixes the "column" */
  --card-bg: #ffffff;
  --radius: 16px;
  --transition: 0.25s ease;
}

/* Reset & base */
* { box-sizing: border-box; }
html { height: 100%; }
body {
  min-height: 100svh;
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--page);
  display: grid;
  place-items: center;       /* centers the card */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Card ---------- */
.card {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 36px;
  background: var(--card-bg);       /* solid white, no frosted blur */
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  text-align: center;
  animation: fade-in 0.45s ease both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.subtitle {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 24px;
}

/* ---------- Form ---------- */
.field { position: relative; margin-bottom: 14px; }

.field input {
  width: 100%;
  padding: 14px 44px 14px 14px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f9fafb;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.field input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.12);
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  color: #9ca3af;
  padding: 2px 6px;
  border-radius: 8px;
}

.toggle-password:hover { color: var(--primary); }

/* ---------- Button ---------- */
.btn {
  width: 100%;
  padding: 14px;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition), transform 0.05s ease;
}

.btn:hover,
.btn:focus-visible { background: var(--primary-dark); }
.btn:active { transform: translateY(1px); }

/* ---------- Messages ---------- */
#message {
  margin-top: 14px;
  font-size: 0.93rem;
  font-weight: 500;
  min-height: 1.2em;
}

.error { color: #d52731; }
.success { color: #269f53; }

/* ---------- Logout button ---------- */
/* Tiny logout icon (top-left of the page) */
.logout-icon {
  position: fixed;
  top: 12px;
  left: 12px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(16, 24, 40, 0.12);
  transition: background var(--transition), transform 0.05s ease;
  z-index: 1000;
}
.logout-icon i {
  font-size: 14px;   /* slightly larger than before */
  line-height: 1;
}

.logout-icon:hover { background: var(--primary-dark); }
.logout-icon:active { transform: translateY(1px); }


/* ---------- Penalty Section ---------- */
.penalty-container {
  display: none;
  width: 100%;
  max-width: 1600px;
  padding: 20px 40px;
  margin: 0 auto;
}

.penalty-container.show {
  display: block;
}

.penalty-header {
  text-align: center;
  margin-bottom: 24px;
}

.penalty-header h1 {
  font-size: 1.8rem;
  color: #1f2937;
  margin: 0 0 8px 0;
}

.penalty-header p {
  color: #6b7280;
  margin: 0;
}

.penalty-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.penalty-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.penalty-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(16, 24, 40, 0.12);
}

.card-header {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.header-left {
  flex: 1;
}

.card-header .title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}

.delete-btn {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateY(-5px);
}

.penalty-card:hover .delete-btn {
  opacity: 1;
  transform: translateY(0);
}

.delete-btn:hover {
  background: #ef4444;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.delete-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.card-header .video-link-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.card-header .video-link-btn:hover {
  background: rgba(255,255,255,0.35);
}

.card-header .video-link-btn i {
  font-size: 0.7rem;
}

.card-header .type-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Content Section - Nội dung & Video */
.content-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8fafc;
  border-radius: 10px;
}

.content-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.content-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.content-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.content-value {
  font-size: 0.85rem;
  color: #1f2937;
  font-weight: 500;
  word-break: break-word;
}

/* People Section - GV & Người ĐG */
.people-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.person-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fef3c7;
  border-radius: 10px;
}

.person-card:last-child {
  background: #dbeafe;
}

.person-icon {
  width: 36px;
  height: 36px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.person-icon.assessor {
  background: #3b82f6;
}

.person-card:last-child .person-icon {
  background: #3b82f6;
}

.person-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.person-role {
  font-size: 0.65rem;
  font-weight: 600;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.person-card:last-child .person-role {
  color: #1e40af;
}

.person-email {
  font-size: 0.8rem;
  color: #1f2937;
  font-weight: 500;
  word-break: break-all;
  line-height: 1.3;
}

/* Result Section - Kết quả & Penalty */
.result-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.result-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 12px;
  border-radius: 12px;
  text-align: center;
}

.result-box.pass {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 2px solid #10b981;
}

.result-box.fail {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
}

.result-box.no-penalty {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border: 2px solid #6366f1;
}

.result-box.has-penalty {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 2px solid #ef4444;
}

.result-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.result-box.pass .result-label {
  color: #065f46;
}

.result-box.fail .result-label {
  color: #991b1b;
}

.result-box.no-penalty .result-label {
  color: #3730a3;
}

.result-box.has-penalty .result-label {
  color: #991b1b;
}

.result-value {
  font-size: 1.1rem;
  font-weight: 700;
}

.result-box.pass .result-value {
  color: #059669;
}

.result-box.fail .result-value {
  color: #dc2626;
}

.result-box.no-penalty .result-value {
  color: #4f46e5;
}

.result-box.has-penalty .result-value {
  color: #dc2626;
}

/* Notes Section */
.notes-section {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fefce8;
  border-radius: 10px;
  border: 1px dashed #eab308;
}

.notes-icon {
  width: 28px;
  height: 28px;
  background: #eab308;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.notes-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.notes-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #a16207;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.notes-text {
  font-size: 0.85rem;
  color: #713f12;
  font-style: italic;
}


.no-data {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.no-data i {
  font-size: 3rem;
  margin-bottom: 16px;
  color: #d1d5db;
}

.loading-spinner {
  text-align: center;
  padding: 100px 20px;
  color: #6b7280;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.loading-spinner i {
  font-size: 3rem;
  color: var(--primary);
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

.loading-spinner p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
}

/* Filter Section - Revamped */
.filter-wrapper {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(16, 24, 40, 0.08);
  border: 1px solid #e5e7eb;
  display: none;
}

.filter-wrapper.show {
  display: block;
}
.filter-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.filter-header i {
  color: var(--primary);
  font-size: 1rem;
}

.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group.status-group {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.filter-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.filter-label i {
  color: var(--primary);
  font-size: 0.8rem;
}

.status-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 20px;
  background: white;
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #eff6ff;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  border-color: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.filter-btn i {
  font-size: 0.8rem;
}

.filter-input {
  padding: 6px 10px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.8rem;
  color: #1f2937;
  background: white;
  transition: all 0.2s ease;
  outline: none;
  min-width: 140px;
  max-width: 180px;
}

.filter-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.filter-input:hover {
  border-color: #d1d5db;
}

.filter-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 10px;
}

.clear-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(239, 68, 68, 0.4);
}

.filter-stats {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-count {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.result-count i {
  font-size: 0.85rem;
}

.total-penalty {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

.total-penalty i {
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .filter-wrapper {
    padding: 12px;
  }
  
  .filter-grid {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-group.status-group {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .filter-input {
    max-width: 100%;
    width: 100%;
  }
  
  .filter-actions {
    flex-direction: column;
  }
  
  .filter-stats {
    width: 100%;
    justify-content: space-between;
  }
  
  .clear-filter-btn {
    width: 100%;
    justify-content: center;
  }
}

.penalty-card.hidden {
  display: none;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .penalty-grid {
    grid-template-columns: 1fr;
  }
  
  .penalty-container {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .people-section {
    grid-template-columns: 1fr;
  }
  
  .result-section {
    grid-template-columns: 1fr;
  }
  
  .person-card {
    padding: 12px;
  }
  
  .content-item {
    padding: 10px;
  }
}


/* Penalties Table Cards - Different header color */
.penalty-card.penalties-source .card-header.penalties-header {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}


/* Teacher cards styling for penalties table */
.person-card.teacher-card {
  background: #e0f2fe;
}

.person-card.teacher-card .person-role {
  color: #0369a1;
}

/* Proof Section - for penalties table */
.proof-section {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: #fef3c7;
  border-radius: 10px;
  border: 1px dashed #f59e0b;
}

.proof-icon {
  width: 28px;
  height: 28px;
  background: #f59e0b;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.proof-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.proof-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #a16207;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.proof-text {
  font-size: 0.85rem;
  color: #713f12;
  line-height: 1.5;
}

/* Badge Row */
.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

/* Detail Badge */
.detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.detail-badge:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.detail-badge i {
  font-size: 0.8rem;
}

/* Copy URL Button */
.copy-url-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-url-btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}

.copy-url-btn.copied {
  background: #10b981;
  border-color: #10b981;
}

.copy-url-btn i {
  font-size: 0.8rem;
}

/* Single Card View */
.single-card-view .penalty-grid {
  max-width: 800px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.single-card-view .back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.single-card-view .back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
}

.single-card-view .filter-wrapper {
  display: none;
}

/* Hide cards initially in single card mode until correct one is shown */
.single-card-view .penalty-card {
  display: none;
}

.single-card-view .penalty-card.target-card {
  display: block;
}

/* Single card loading state */
.single-card-view .loading-spinner {
  display: flex;
}

/* Hide filter immediately when URL has card ID (before JS runs) */
html.single-card-mode .filter-wrapper {
  display: none !important;
}

html.single-card-mode .penalty-card {
  display: none !important;
}

html.single-card-mode .penalty-card.target-card {
  display: block !important;
}

/* Popup Overlay */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.popup-overlay.show {
  opacity: 1;
}

.popup-container {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.popup-overlay.show .popup-container {
  transform: scale(1) translateY(0);
}

.popup-header {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.popup-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.popup-header h2 i {
  font-size: 1.2rem;
}

.popup-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.popup-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
}

.popup-body h1, .popup-body h2, .popup-body h3, .popup-body h4 {
  color: #1f2937;
  margin-top: 16px;
  margin-bottom: 8px;
}

.popup-body h1:first-child, .popup-body h2:first-child, .popup-body h3:first-child {
  margin-top: 0;
}

.popup-body ul, .popup-body ol {
  padding-left: 20px;
  margin: 12px 0;
}

.popup-body li {
  margin-bottom: 6px;
}

.popup-body p {
  margin: 10px 0;
}

.popup-body strong, .popup-body b {
  color: #1f2937;
  font-weight: 600;
}

.popup-body a {
  color: var(--primary);
  text-decoration: underline;
}

.popup-body code {
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.popup-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}

.popup-body th, .popup-body td {
  border: 1px solid #e5e7eb;
  padding: 8px 12px;
  text-align: left;
}

.popup-body th {
  background: #f9fafb;
  font-weight: 600;
}

.popup-footer {
  padding: 16px 20px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
  background: #f9fafb;
}

.popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

@media (max-width: 480px) {
  .popup-container {
    max-height: 90vh;
  }
  
  .popup-header h2 {
    font-size: 1rem;
  }
  
  .popup-body {
    padding: 16px;
  }
}