/* -------------------------------------------------------------------
   BRANCH SELECTOR COMPONENT STYLING
------------------------------------------------------------------- */

.branch-selector-wrap {
  padding: 0.5rem 0;
}

.branch-selector-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f2b5c;
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.branch-selector-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0 0 1.25rem 0;
}

.branch-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.branch-order-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.branch-order-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.branch-order-card.selected {
  border-color: #2563eb;
  background-color: #f8faff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.branch-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.branch-badge-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1e40af;
  background-color: #dbeafe;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.branch-radio-indicator {
  font-size: 1.35rem;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

.branch-order-card.selected .branch-radio-indicator {
  color: #2563eb;
}

.branch-biz-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f2b5c;
  margin: 0 0 0.65rem 0;
  line-height: 1.3;
}

.branch-meta-row {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
  font-size: 0.82rem;
  color: #475569;
}

.branch-meta-row .meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.branch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1px dashed #e2e8f0;
}

.btn-selected {
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
}

.btn-directions-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.btn-directions-link:hover {
  text-decoration: underline;
}
