/* --------------------------------------------------------------------------
   YouTube Script Extractor - Clean, Minimal SaaS Design System
   -------------------------------------------------------------------------- */

:root {
  --bg-app: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #fcfdfe;
  --bg-subtle: #f1f5f9;
  --bg-muted: #e2e8f0;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;

  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;

  --success: #10b981;
  --success-light: #ecfdf5;

  --error: #ef4444;
  --error-light: #fef2f2;
  --error-border: #fecaca;

  --border: #e2e8f0;
  --border-focus: #6366f1;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 40px 16px 60px;
}

.app-container {
  max-width: 860px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  text-align: center;
  margin-bottom: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ef4444, #4f46e5);
  color: white;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.2);
}

.brand-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-info h1 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-main);
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tagline {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Cards & Layout
   -------------------------------------------------------------------------- */
.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-card {
  padding: 20px 24px;
  margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Input Form
   -------------------------------------------------------------------------- */
#extract-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  color: #ef4444;
  display: flex;
  align-items: center;
  pointer-events: none;
}

#url-input {
  width: 100%;
  height: 50px;
  padding: 0 90px 0 44px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--bg-app);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.2s ease;
}

#url-input:focus {
  background-color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

#url-input::placeholder {
  color: var(--text-dim);
}

.btn-ghost-sm {
  position: absolute;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 9px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-ghost-sm:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
}

.btn-clear-input {
  position: absolute;
  right: 68px;
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-dim);
  cursor: pointer;
  padding: 4px;
}

.btn-clear-input:hover {
  color: var(--text-main);
}

.btn-primary {
  height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Sample links */
.sample-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}

.sample-label {
  color: var(--text-dim);
  font-weight: 500;
}

.sample-chip {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.sample-chip:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: rgba(79, 70, 229, 0.2);
}

/* --------------------------------------------------------------------------
   Alerts & Notifications
   -------------------------------------------------------------------------- */
.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  animation: fadeIn 0.25s ease;
}

.alert-error {
  background-color: var(--error-light);
  border: 1px solid var(--error-border);
  color: #991b1b;
}

.alert-icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.alert-message {
  font-size: 0.84rem;
  opacity: 0.9;
}

.alert-dismiss {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #991b1b;
  cursor: pointer;
  opacity: 0.6;
}

.alert-dismiss:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Loading Skeleton
   -------------------------------------------------------------------------- */
.loading-card {
  text-align: center;
  padding: 40px 24px;
  margin-bottom: 24px;
  animation: fadeIn 0.2s ease;
}

.spinner-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.loading-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.loading-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.skeleton-lines {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-line {
  height: 12px;
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  border-radius: 4px;
  animation: shimmer 1.5s infinite;
}

.skeleton-line.full { width: 100%; }
.skeleton-line.medium { width: 75%; margin: 0 auto; }
.skeleton-line.short { width: 50%; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Result Section
   -------------------------------------------------------------------------- */
.result-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: fadeIn 0.35s ease;
}

/* Video Meta Card */
.video-meta-card {
  padding: 16px 20px;
}

.video-meta-grid {
  display: flex;
  gap: 18px;
  align-items: center;
}

.video-thumb-wrap {
  position: relative;
  width: 140px;
  height: 84px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #000;
  border: 1px solid var(--border);
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.video-thumb-wrap:hover .video-play-overlay {
  opacity: 1;
}

.video-details {
  flex: 1;
  min-width: 0;
}

.video-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-channel {
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.meta-dot {
  color: var(--text-dim);
}

.badge-subtle {
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.stats-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background-color: var(--bg-app);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.stat-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.stat-separator {
  width: 1px;
  height: 14px;
  background-color: var(--border);
}

/* --------------------------------------------------------------------------
   Action Toolbar
   -------------------------------------------------------------------------- */
.action-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.action-left, .action-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-copy-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 2px 5px rgba(79, 70, 229, 0.2);
}

.btn-copy-primary:hover {
  background-color: var(--primary-hover);
}

.btn-copy-primary.copied {
  background-color: var(--success);
}

.btn-secondary {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.btn-secondary:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border-color: #cbd5e1;
}

/* Format toggle */
.format-toggle {
  display: inline-flex;
  background-color: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 2px;
  border-radius: var(--radius-md);
}

.toggle-btn {
  background: none;
  border: none;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.toggle-btn.active {
  background: white;
  color: var(--text-main);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Language selector */
.select-wrapper select {
  height: 38px;
  padding: 0 28px 0 12px;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--text-main);
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.select-wrapper select:focus {
  border-color: var(--primary);
}

/* Dropdown */
.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 190px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  animation: fadeIn 0.15s ease;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 0.82rem;
  color: var(--text-main);
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  width: 100%;
}

.dropdown-item:hover {
  background-color: var(--bg-subtle);
}

.file-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary);
  background-color: var(--primary-light);
  padding: 2px 5px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Script Content Area
   -------------------------------------------------------------------------- */
.script-card {
  padding: 0;
  overflow: hidden;
}

.script-header-sub {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background-color: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.script-view-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.script-content {
  padding: 24px;
  max-height: 540px;
  overflow-y: auto;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-main);
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
  user-select: text;
}

.script-content:focus {
  background-color: #fafbfc;
}

/* Custom scrollbar for script content */
.script-content::-webkit-scrollbar {
  width: 8px;
}

.script-content::-webkit-scrollbar-track {
  background: transparent;
}

.script-content::-webkit-scrollbar-thumb {
  background-color: var(--bg-muted);
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Future Feature: AI Takeaways Box
   -------------------------------------------------------------------------- */
.future-feature-box {
  background-color: var(--bg-card);
  border: 1px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  transition: all 0.2s ease;
}

.future-feature-box:hover {
  border-color: var(--primary);
  background-color: #fbfbfe;
}

.future-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.future-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.summary-toggle-arrow {
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.future-body {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.takeaways-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.takeaways-list li {
  margin-bottom: 2px;
}

/* --------------------------------------------------------------------------
   Toast Notification
   -------------------------------------------------------------------------- */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #0f172a;
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  z-index: 100;
  animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  text-align: center;
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Utilities & Animations
   -------------------------------------------------------------------------- */
.hidden {
  display: none !important;
}

.text-success {
  color: #10b981;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

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

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

/* Responsive */
@media (max-width: 640px) {
  body {
    padding: 20px 12px 40px;
  }

  .brand-info h1 {
    font-size: 1.35rem;
  }

  #extract-form {
    flex-direction: column;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .video-meta-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .video-thumb-wrap {
    width: 100%;
    height: 160px;
  }

  .action-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .action-left, .action-right {
    width: 100%;
    justify-content: space-between;
  }

  .btn-action {
    flex: 1;
    justify-content: center;
  }
}

/* --------------------------------------------------------------------------
   Header API Pill & Settings Modal
   -------------------------------------------------------------------------- */
.header-actions {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.btn-api-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 500;
  font-family: inherit;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-api-pill:hover {
  background-color: var(--bg-subtle);
  color: var(--text-main);
  border-color: #cbd5e1;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 1000;
  animation: fadeIn 0.15s ease;
}

.modal-card {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
}

.modal-title-wrap h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-dim);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 22px;
}

.modal-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modal-input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 0.88rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  margin-bottom: 8px;
}

.modal-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.modal-tip {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px;
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border);
}

/* --------------------------------------------------------------------------
   AI Speech-to-Text Enhancements
   -------------------------------------------------------------------------- */
.ai-prompt-box {
  margin-top: 12px;
  padding: 12px 14px;
  background-color: #f5f3ff;
  border: 1px dashed #8b5cf6;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: fadeIn 0.2s ease;
}

.ai-prompt-text {
  font-size: 0.84rem;
  color: #5b21b6;
  line-height: 1.45;
}

.btn-ai-transcribe {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.25);
}

.btn-ai-transcribe:hover {
  background: linear-gradient(135deg, #6d28d9, #4338ca);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(124, 58, 237, 0.35);
}

.badge-ai {
  background: linear-gradient(135deg, #7c3aed, #4f46e5) !important;
  color: white !important;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(124, 58, 237, 0.2);
}

.modal-section-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.modal-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.link-external {
  color: var(--primary);
  text-decoration: underline;
}

.modal-field-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.modal-field-col {
  flex: 1;
}

.modal-field-col.flex-2 {
  flex: 2;
}

.modal-select {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  font-size: 0.82rem;
  font-family: inherit;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background-color: white;
  outline: none;
}

.modal-select:focus {
  border-color: var(--primary);
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 16px 0;
}


