/*
 * 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.
 */

/* Screening AI Textarea Focus Styles */
.screening-textarea:focus {
  border-color: #8b5cf6 !important;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.3);
  outline: none;
}

/* Autocomplete Suggestions Styles */
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 4px;
}

.autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.highlighted {
  background-color: #f3f4f6;
}

.autocomplete-item.highlighted {
  background-color: #e0e7ff;
}

/* HQ Memo Styles */
.hq-memo-section {
  margin: 20px 0;
  padding: 20px;
  background-color: #fffbeb;
  border: 2px solid #fbbf24;
  border-radius: 12px;
  max-width: 50%;
}

.hq-memo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.hq-memo-title {
  font-size: 15px;
  font-weight: 700;
  color: #92400e;
}

.hq-memo-edit-btn {
  background: none;
  border: none;
  color: #92400e;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 600;
}

.hq-memo-edit-btn:hover {
  color: #451a03;
  background-color: rgba(146, 64, 14, 0.1);
  border-radius: 4px;
}

.hq-memo-content {
  font-size: 15px;
  color: #451a03;
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.6;
  min-height: 60px;
  padding: 12px;
  background-color: white;
  border-radius: 8px;
  border: 1px solid #fbbf24;
}

.hq-memo-content--empty {
  min-height: 60px;
}

.hq-memo-textarea {
  width: 100%;
  min-height: 120px;
  padding: 12px;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.2s;
}

.hq-memo-textarea:focus {
  outline: none;
  border-color: #fbbf24;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.2);
}

.hq-memo-char-count {
  text-align: right;
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
  margin-bottom: 12px;
}

.hq-memo-actions {
  display: flex;
  gap: 10px;
}

.btn-text {
  background: none;
  border: none;
  color: #92400e;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
}

.btn-text:hover {
  color: #451a03;
}

.btn-text--sm {
  font-size: 12px;
}
