/* =============================================================================
   SparkTech Scrum Dashboard - Styles
   ============================================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --success-color: #10b981;
  --success-bg: #d1fae5;
  --warning-color: #f59e0b;
  --warning-bg: #fef3c7;
  --danger-color: #ef4444;
  --danger-bg: #fee2e2;
  --info-color: #6366f1;
  --info-bg: #e0e7ff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 8px;
  --radius-lg: 12px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--gray-100);
  color: var(--gray-800);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

.btn-primary:disabled {
  background-color: var(--gray-400);
  cursor: not-allowed;
}

.btn-outline {
  background-color: white;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
}

.btn-outline:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-success {
  background-color: var(--success-color);
  color: white;
}

.btn-success:hover {
  background-color: #059669;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: white;
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-left h1 {
  font-size: 20px;
  color: var(--gray-900);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: 500;
  color: var(--gray-700);
}

/* Main Content */
.main-content {
  padding: 24px;
  max-width: 1600px;
  margin: 0 auto;
}

/* Toolbar */
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.sync-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sync-status {
  color: var(--gray-600);
  font-size: 14px;
}

.synced-by-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.synced-by-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.record-count {
  color: var(--gray-500);
  font-size: 13px;
}

.toolbar-buttons {
  display: flex;
  gap: 10px;
}

/* Availability Summary */
.availability-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.availability-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid;
}

.availability-card.available {
  border-color: var(--success-color);
}

.availability-card.soon {
  border-color: var(--warning-color);
}

.availability-card.busy {
  border-color: var(--gray-400);
}

.availability-card .availability-icon {
  margin-bottom: 12px;
}

.availability-card.available .availability-icon {
  color: var(--success-color);
}

.availability-card.soon .availability-icon {
  color: var(--warning-color);
}

.availability-card.busy .availability-icon {
  color: var(--gray-400);
}

.availability-info {
  margin-bottom: 12px;
}

.availability-count {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: var(--gray-900);
}

.availability-label {
  font-size: 14px;
  color: var(--gray-600);
}

.availability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dev-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.dev-chip.available {
  background: var(--success-bg);
  color: #065f46;
}

.dev-chip.soon {
  background: var(--warning-bg);
  color: #92400e;
}

.dev-chip.busy {
  background: var(--gray-100);
  color: var(--gray-600);
}

.dev-chip.more {
  background: var(--gray-200);
  color: var(--gray-600);
}

.no-devs {
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}

/* Filters Section */
.filters-section {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.search-box svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
}

.filter-groups {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 200px;
}

.filter-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.checkbox-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.checkbox-item input {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-item span {
  font-size: 13px;
  color: var(--gray-700);
}

.status-chip {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.status-chip.status-done {
  background: var(--success-bg);
  color: #065f46;
}

.status-chip.status-working {
  background: var(--warning-bg);
  color: #92400e;
}

.status-chip.status-in-queue {
  background: var(--info-bg);
  color: #3730a3;
}

.status-chip.status-not-started {
  background: var(--danger-bg);
  color: #991b1b;
}

.avail-chip {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.avail-chip.available {
  background: var(--success-bg);
  color: #065f46;
}

.avail-chip.soon {
  background: var(--warning-bg);
  color: #92400e;
}

.avail-chip.busy {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Teams Container */
.teams-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.team-section {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-900) 100%);
  color: white;
}

.team-name {
  font-size: 20px;
  font-weight: 600;
}

.team-dev-count {
  font-size: 14px;
  color: var(--gray-400);
}

/* Developers Grid */
.developers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 20px;
  padding: 20px;
}

.developer-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.developer-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow);
}

.developer-card.expanded {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Compact Summary View */
.developer-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--gray-50);
}

.dev-main-info {
  min-width: 140px;
}

.dev-main-info .developer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.dev-main-info .developer-id {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
  display: block;
}

.dev-quick-stats {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.quick-stat {
  text-align: center;
  padding: 4px 10px;
  background: white;
  border-radius: 6px;
  border: 1px solid var(--gray-200);
  min-width: 60px;
}

.quick-stat .stat-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.2;
}

.quick-stat .stat-label {
  font-size: 10px;
  color: var(--gray-500);
  text-transform: uppercase;
}

.expand-icon {
  color: var(--gray-400);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.developer-card:hover .expand-icon {
  color: var(--gray-600);
}

/* Details Section */
.developer-details {
  border-top: 1px solid var(--gray-200);
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep old styles for compatibility */
.developer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.developer-info h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.developer-id {
  font-size: 12px;
  color: var(--gray-500);
}

.availability-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.availability-badge.available {
  background: var(--success-bg);
  color: #065f46;
}

.availability-badge.available-soon {
  background: var(--warning-bg);
  color: #92400e;
}

.availability-badge.busy {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* Developer Metrics */
.developer-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.metric {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.metric-label {
  font-size: 11px;
  color: var(--gray-500);
  text-transform: uppercase;
}

/* Projects Container */
.projects-container {
  padding: 12px;
}

.project-card {
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.project-card:last-child {
  margin-bottom: 0;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.project-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.github-link {
  color: var(--gray-500);
  transition: color 0.2s;
}

.github-link:hover {
  color: var(--gray-900);
}

/* Features List */
.features-list {
  max-height: 300px;
  overflow-y: auto;
}

.feature-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-50);
  gap: 12px;
}

.feature-row:last-child {
  border-bottom: none;
}

.feature-row:hover {
  background: var(--gray-50);
}

.feature-info {
  flex: 1;
  min-width: 0;
}

.feature-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-800);
}

.auto-badge {
  display: inline-block;
  padding: 1px 6px;
  background: var(--info-bg);
  color: var(--info-color);
  font-size: 10px;
  font-weight: 600;
  border-radius: 4px;
  cursor: help;
}

.feature-date {
  display: block;
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}

.feature-status {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.status-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.status-done {
  background: var(--success-bg);
  color: #065f46;
}

.status-working {
  background: var(--warning-bg);
  color: #92400e;
}

.status-in-queue {
  background: var(--info-bg);
  color: #3730a3;
}

.status-not-started {
  background: var(--danger-bg);
  color: #991b1b;
}

.progress-badge {
  padding: 4px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 11px;
  color: var(--gray-600);
  font-weight: 500;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.empty-state h3 {
  margin: 20px 0 8px;
  color: var(--gray-700);
}

.empty-state p {
  color: var(--gray-500);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading-overlay p {
  color: white;
  margin-top: 16px;
  font-size: 16px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-small {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: var(--gray-900);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gray-700);
}

.modal-body {
  padding: 24px;
}

.modal-description {
  color: var(--gray-600);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-description code {
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: 12px;
  word-break: break-all;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-message {
  color: var(--danger-color);
  font-size: 13px;
  margin-top: 8px;
  padding: 10px 12px;
  background: #fef2f2;
  border-radius: var(--radius);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-200);
}

.modal-sheets-list {
  padding: 0 24px 24px;
}

.modal-sheets-list h4 {
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gray-200);
}

.sheets-list {
  max-height: 200px;
  overflow-y: auto;
}

.sheet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.sheet-item:last-child {
  margin-bottom: 0;
}

.sheet-info {
  flex: 1;
  min-width: 0;
}

.sheet-name {
  display: block;
  font-weight: 500;
  color: var(--gray-800);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet-meta {
  display: block;
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

.btn-icon {
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: var(--radius);
  color: var(--gray-500);
  transition: all 0.2s;
}

.btn-icon:hover {
  background: var(--gray-200);
}

.btn-delete:hover {
  color: var(--danger-color);
  background: #fef2f2;
}

.loading-text, .empty-text, .error-text {
  color: var(--gray-500);
  font-size: 13px;
  text-align: center;
  padding: 16px;
}

.error-text {
  color: var(--danger-color);
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, #7c3aed 100%);
  padding: 20px;
}

.login-container {
  width: 100%;
  max-width: 420px;
}

.login-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.login-header {
  background: var(--gray-900);
  color: white;
  padding: 32px;
  text-align: center;
}

.login-header h1 {
  font-size: 24px;
  margin-bottom: 4px;
}

.login-header p {
  color: var(--gray-400);
  font-size: 14px;
}

.login-body {
  padding: 32px;
}

.login-description {
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 24px;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 14px 24px;
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  color: var(--gray-700);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.google-btn:hover {
  border-color: var(--gray-400);
  background-color: var(--gray-50);
}

.login-footer {
  padding: 16px 32px;
  background: var(--gray-50);
  text-align: center;
}

.login-footer p {
  color: var(--gray-500);
  font-size: 12px;
}

/* Error Page */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.error-container {
  width: 100%;
  max-width: 500px;
}

.error-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  text-align: center;
}

.error-icon {
  margin-bottom: 20px;
}

.error-card h1 {
  color: var(--gray-800);
  margin-bottom: 12px;
}

.error-card .error-message {
  color: var(--gray-600);
  margin-bottom: 20px;
  background: none;
  padding: 0;
}

.error-stack {
  text-align: left;
  background: var(--gray-100);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 12px;
  overflow-x: auto;
  margin-bottom: 20px;
  color: var(--gray-700);
}

.error-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1024px) {
  .availability-summary {
    grid-template-columns: 1fr;
  }

  .developers-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .header-right {
    flex-direction: column;
    gap: 12px;
  }

  .toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-buttons {
    justify-content: center;
  }

  .filter-groups {
    flex-direction: column;
  }

  .developer-summary {
    flex-wrap: wrap;
    gap: 12px;
  }

  .dev-main-info {
    min-width: auto;
    flex: 1;
  }

  .dev-quick-stats {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .quick-stat {
    min-width: 55px;
  }

  .expand-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
  }

  .developer-card {
    position: relative;
  }
}

/* Scrollbar */
.features-list::-webkit-scrollbar,
.sheets-list::-webkit-scrollbar {
  width: 6px;
}

.features-list::-webkit-scrollbar-track,
.sheets-list::-webkit-scrollbar-track {
  background: var(--gray-100);
}

.features-list::-webkit-scrollbar-thumb,
.sheets-list::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 3px;
}

.features-list::-webkit-scrollbar-thumb:hover,
.sheets-list::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}

/* Export Modal */
.export-modal-content {
  max-width: 700px;
}

.export-preview-body {
  padding: 0;
  max-height: 70vh;
  overflow-y: auto;
}

.export-document {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.export-header {
  background: #20124c;
  color: #FFD700;
  padding: 24px;
  margin: 0;
}

.export-header h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.export-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.meta-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.meta-label {
  font-weight: 600;
}

.export-body {
  padding: 20px;
}

.export-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.export-table th {
  background: #20124c;
  color: #FFD700;
  padding: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
}

.export-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--gray-200);
  font-size: 14px;
}

.export-table tr:hover td {
  background: var(--gray-50);
}

.export-table .empty-row {
  text-align: center;
  color: var(--gray-500);
  padding: 24px;
}

.export-summary {
  background: var(--gray-100);
  padding: 12px 16px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 14px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--gray-900);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  min-width: 300px;
  max-width: 500px;
}

.toast-show {
  opacity: 1;
  transform: translateY(0);
}

.toast-hide {
  opacity: 0;
  transform: translateY(-20px);
}

.toast-success {
  background: #065f46;
}

.toast-error {
  background: #991b1b;
}

.toast-info {
  background: var(--gray-800);
}

.toast-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-left: 8px;
  transition: color 0.2s;
}

.toast-close:hover {
  color: white;
}
