/* ============================================
   Opportunities Page - Additional Styles
   Used in: org-opportunity/opportunities.blade.php
   Loaded alongside: opportunities.css
   ============================================ */

/* Best Match Alert Banner */
.best-match-alert {
  background: linear-gradient(135deg, #e8f4fd 0%, #dceefb 100%);
  border: 1px solid #b3d8f0;
  border-left: 4px solid #00568f;
  border-radius: 8px;
  margin-bottom: 16px;
  animation: slideDownFade 0.3s ease;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.best-match-alert-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
}

.best-match-alert-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  background: #00568f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  margin-top: 1px;
}

.best-match-alert-body {
  flex: 1;
  font-size: 13.5px;
  color: #2c3e50;
  line-height: 1.55;
}

.best-match-alert-body strong {
  color: #00568f;
}

.best-match-alert-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #00568f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.best-match-alert-link:hover {
  border-bottom-color: #00568f;
  color: #00568f;
}

.best-match-alert-link i {
  font-size: 11px;
  margin-left: 3px;
}

.best-match-alert-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #7a9ab8;
  font-size: 14px;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  margin-top: 1px;
}

.best-match-alert-close:hover {
  color: #00568f;
  background: rgba(0, 86, 143, 0.08);
}

/* Disabled Best Match option styling */
#sortBy option:disabled {
  color: #aaa;
}

/* Force distance badge onto its own line in card header */
.card-location {
  flex-wrap: wrap;
}

.card-location .distance-badge {
  width: 100%;
  margin-top: 2px;
}

.opportunity-card .detail-text { color: #1E1E1E; }
.opportunity-card .opportunity-description { color: #1E1E1E; }
