/* Funder Matcher - Main Stylesheet */

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1e293b;
  background-color: #f8fafc;
}

/* ===== Layout ===== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 260px;
  background-color: #fff;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
}

.sidebar__header {
  padding: 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar__logo {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar__logo::before {
  content: "";
  display: block;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #7c5cd8 0%, #5231b5 100%);
  border-radius: 6px;
}

.sidebar__menu {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar__item {
  margin: 0;
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #623cd0;
  text-decoration: none;
  transition: all 150ms;
  font-size: 15px;
  font-weight: 400;
}

.sidebar__link:hover {
  background-color: #f1f5f9;
  color: #5231b5;
}

.sidebar__link--active {
  background-color: #f5f3ff;
  color: #5231b5;
  font-weight: 500;
}

.sidebar__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar__icon svg {
  width: 24px;
  height: 24px;
}

.sidebar__text {
  white-space: nowrap;
}

.sidebar__footer {
  margin-top: auto;
  padding: 16px;
  border-top: 1px solid #e2e8f0;
}

.sidebar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.sidebar__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #94a3b8;
}

.sidebar__status-dot--online {
  background-color: #22c55e;
}

.sidebar__status-dot--offline {
  background-color: #ef4444;
}

.sidebar__status-text {
  color: #64748b;
}

/* ===== Main Content ===== */
.main-content {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.main-content--library {
  overflow-y: auto;
  background-color: #f8fafc;
}

/* ===== Chat Component ===== */
.chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-height: calc(100vh - 65px);
  background-color: #fff;
}

.chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #fff;
}

.chat__header-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.chat__header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat__clear-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}

.chat__clear-btn:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
}

.chat__clear-btn svg {
  width: 16px;
  height: 16px;
}

.chat__container {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 24px;
  overflow: hidden;
}

/* Messages Area */
.chat__messages {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 24px;
  scroll-behavior: smooth;
}

.chat__messages::-webkit-scrollbar {
  width: 6px;
}

.chat__messages::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 9999px;
}

.chat__messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

.chat__messages::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Individual Message */
.chat__message {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: chatFadeIn 0.3s ease-out;
}

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

/* User message (right-aligned) */
.chat__message--user {
  align-self: flex-end;
}

.chat__message--user .chat__message-content {
  background-color: #ede9fe;
  color: #1e293b;
  border-radius: 16px 16px 4px 16px;
}

/* Assistant message (left-aligned) */
.chat__message--assistant {
  align-self: flex-start;
}

.chat__message--assistant .chat__message-content {
  background-color: #f1f5f9;
  color: #1e293b;
  border-radius: 16px 16px 16px 4px;
}

.chat__message-content {
  padding: 12px 16px;
  font-size: 15px;
  line-height: 1.6;
}

/* Markdown formatting */
.chat__message-content p {
  margin: 0;
}

.chat__message-content p + p {
  margin-top: 8px;
}

.chat__message-content strong {
  font-weight: 600;
}

.chat__message-content ul,
.chat__message-content ol {
  margin: 8px 0;
  padding-left: 24px;
}

.chat__message-content li {
  margin-bottom: 4px;
}

.chat__message-content code {
  background-color: rgba(0, 0, 0, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', monospace;
  font-size: 0.9em;
}

/* Markdown headers in messages */
.chat__heading {
  margin: 0;
  line-height: 1.3;
  color: #1e293b;
}

.chat__heading:first-child {
  margin-top: 0;
}

.chat__heading--h2 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e2e8f0;
}

.chat__heading--h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
  color: #623cd0;
}

.chat__heading--h4 {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sources list */
.chat__sources {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
}

.chat__sources-label {
  font-size: 12px;
  font-weight: 500;
  color: #64748b;
  margin-bottom: 4px;
}

.chat__sources-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.chat__source-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  background-color: #f1f5f9;
  border-radius: 9999px;
  font-size: 12px;
  color: #64748b;
}

/* Input Area */
.chat__input-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.chat__input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 8px;
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}

.chat__input-wrapper:focus-within {
  border-color: #7c5cd8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.chat__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: #1e293b;
  resize: none;
  min-height: 24px;
  max-height: 150px;
  padding: 8px;
}

.chat__input::placeholder {
  color: #94a3b8;
}

.chat__input:focus {
  outline: none;
}

.chat__send-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #623cd0;
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease-in-out, transform 100ms ease-in-out;
  flex-shrink: 0;
}

.chat__send-btn:hover:not(:disabled) {
  background-color: #5231b5;
}

.chat__send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.chat__send-btn:disabled {
  background-color: #cbd5e1;
  cursor: not-allowed;
}

.chat__send-btn svg {
  width: 20px;
  height: 20px;
}

/* Suggestion Chips */
.chat__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chat__suggestion {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background-color: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 14px;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}

.chat__suggestion:hover {
  background-color: #f5f3ff;
  border-color: #a78bfa;
  color: #623cd0;
}

/* Welcome State */
.chat__welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  flex: 1;
}

.chat__welcome-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: #7c5cd8;
}

.chat__welcome-icon svg {
  width: 100%;
  height: 100%;
}

.chat__welcome-title {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 8px;
}

.chat__welcome-subtitle {
  font-size: 15px;
  color: #64748b;
  max-width: 500px;
  margin: 0 0 32px;
}

.chat__welcome-suggestions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 500px;
}

.chat__welcome-suggestion {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}

.chat__welcome-suggestion:hover {
  background-color: #f5f3ff;
  border-color: #a78bfa;
}

.chat__welcome-suggestion svg {
  width: 20px;
  height: 20px;
  color: #7c5cd8;
  flex-shrink: 0;
}

.chat__welcome-suggestion span {
  font-size: 14px;
  color: #64748b;
}

/* Loading State */
.chat__loading {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background-color: #f1f5f9;
  border-radius: 16px 16px 16px 4px;
  max-width: 200px;
}

.chat__loading-dots {
  display: flex;
  gap: 4px;
}

.chat__loading-dot {
  width: 8px;
  height: 8px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: chatLoadingBounce 1.4s ease-in-out infinite;
}

.chat__loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.chat__loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.chat__loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes chatLoadingBounce {
  0%, 80%, 100% {
    transform: scale(0.6);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Error State */
.chat__error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 14px;
}

.chat__error svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Status indicator */
.chat__status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #64748b;
}

.chat__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
}

.chat__status-dot--offline {
  background-color: #94a3b8;
}

.chat__status-dot--error {
  background-color: #ef4444;
}

/* ===== Embed-specific styles ===== */
.embed-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #fff;
}

.embed-container .chat {
  height: 100%;
  max-height: 100vh;
}

.embed-container .chat__header {
  padding: 12px 16px;
}

.embed-container .chat__container {
  padding: 16px;
}

.embed-minimal .chat__header-actions {
  display: none;
}

.embed-powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  font-size: 11px;
  color: #64748b;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.embed-powered-by a {
  color: #7c5cd8;
  text-decoration: none;
  font-weight: 500;
}

.embed-powered-by a:hover {
  text-decoration: underline;
}

/* ===== Library ===== */
.library {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.library__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.library__title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  color: #1e293b;
}

.library__subtitle {
  font-size: 14px;
  color: #64748b;
  margin: 4px 0 0;
}

.library__search {
  margin-bottom: 24px;
}

.library__search-input {
  width: 100%;
  max-width: 400px;
  padding: 10px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
}

.library__search-input:focus {
  outline: none;
  border-color: #7c5cd8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.library__loading,
.library__empty,
.library__error {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px;
  color: #64748b;
}

/* Funder Cards */
.funder-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: box-shadow 150ms;
}

.funder-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.funder-card__name {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #1e293b;
}

.funder-card__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.funder-card__btn {
  width: 100%;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms;
}

.btn--primary {
  background-color: #623cd0;
  color: #fff;
}

.btn--primary:hover {
  background-color: #5231b5;
}

.btn--secondary {
  background-color: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}

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

.btn--ghost {
  background: transparent;
  color: #64748b;
}

.btn--ghost:hover {
  background-color: #f1f5f9;
}

.btn--danger {
  color: #dc2626;
}

.btn--danger:hover {
  background-color: #fef2f2;
}

.btn--sm {
  padding: 6px 12px;
  font-size: 13px;
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal[hidden] {
  display: none !important;
}

.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal__box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.modal__box--large {
  max-width: 700px;
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e2e8f0;
}

.modal__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.modal__close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.modal__close:hover {
  color: #1e293b;
}

.modal__body {
  padding: 20px;
}

/* ===== Forms ===== */
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.form__group--full {
  grid-column: 1 / -1;
}

.form__group label {
  font-size: 13px;
  font-weight: 500;
  color: #475569;
}

.form__input,
.form__select,
.form__textarea {
  padding: 8px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
}

.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: #7c5cd8;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form__section-title {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  margin: 20px 0 12px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.form__section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.form__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.form__help {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
}

.required {
  color: #dc2626;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  cursor: pointer;
}

/* ===== Dropzone ===== */
.dropzone {
  border: 2px dashed #e2e8f0;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 150ms;
}

.dropzone:hover,
.dropzone--active {
  border-color: #7c5cd8;
  background-color: #f5f3ff;
}

.dropzone__input {
  display: none;
}

.dropzone__content svg {
  color: #94a3b8;
  margin-bottom: 12px;
}

.dropzone__text {
  font-weight: 500;
  color: #475569;
  margin: 0;
}

.dropzone__subtext {
  font-size: 13px;
  color: #94a3b8;
  margin: 4px 0 0;
}

/* File List */
.file-list {
  margin-top: 16px;
}

.file-list h4 {
  font-size: 13px;
  margin: 0 0 8px;
}

.file-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background-color: #f8fafc;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 13px;
}

.file-item__size {
  color: #64748b;
  margin-left: auto;
}

.file-item__remove {
  background: none;
  border: none;
  color: #dc2626;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

/* Progress */
.progress-bar {
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0;
}

.progress-bar__fill {
  height: 100%;
  background-color: #22c55e;
  transition: width 300ms;
}

.import-progress__status {
  font-size: 14px;
  color: #475569;
}

.import-summary {
  background-color: #f0fdf4;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.import-results-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.import-result {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 13px;
}

.import-result--success {
  background-color: #f0fdf4;
}

.import-result--error {
  background-color: #fef2f2;
}

.import-result__count {
  color: #16a34a;
}

.import-result__error {
  color: #dc2626;
}

/* ===== Programs ===== */
.programs-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.programs-section__header h3 {
  font-size: 16px;
  margin: 0;
}

.programs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.programs-empty {
  text-align: center;
  padding: 32px;
  color: #64748b;
  background-color: #f8fafc;
  border-radius: 8px;
}

.program-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
}

.program-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.program-card__name {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}

.program-card__actions {
  display: flex;
  gap: 4px;
}

.program-card__tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  background-color: #ede9fe;
  color: #5231b5;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.tag--secondary {
  background-color: #e2e8f0;
  color: #475569;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}

.criteria-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.criteria-item__label {
  font-size: 11px;
  text-transform: uppercase;
  color: #64748b;
}

.criteria-item span:last-child {
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
}

.no-criteria {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.funder-detail__meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

/* ===== Loading ===== */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px;
  color: #64748b;
}

.loading-dots {
  display: flex;
  gap: 4px;
}

.loading-dot {
  width: 8px;
  height: 8px;
  background-color: #94a3b8;
  border-radius: 50%;
  animation: chatLoadingBounce 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }

  .chat__container {
    padding: 16px;
  }

  .chat__message {
    max-width: 95%;
  }

  .chat__welcome {
    padding: 32px 16px;
  }

  .chat__welcome-title {
    font-size: 24px;
  }

  .library {
    padding: 16px;
  }

  .library__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .form__grid {
    grid-template-columns: 1fr;
  }
}
