/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 *   */

.suggestion-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.suggestion-modal {
  position: fixed;
  z-index: 60;
  background: white;
  border-radius: 16px;
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.suggestion-modal-inner {
  padding: 0;
}

.suggestion-modal-header {
  padding: 16px 20px;
  background: linear-gradient(to right, #eef2ff, white);
  border-bottom: 1px solid #e5e7eb;
}

.suggestion-modal-body {
  padding: 20px;
}

/* Card section alignment via subgrid */
.card-project {
  grid-row: span 3;
  display: grid;
  grid-template-rows: subgrid;
}

/* Suggestion display: clamp to ~3 lines reliably */
.suggestion-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  word-break: break-word;
}
