/* Profile mentorship booking */

.profile-booking-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.profile-booking-toolbar .form-control {
  min-width: 180px;
}

.mentor-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.mentor-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mentor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.mentor-card__head {
  display: flex;
  gap: 14px;
  padding: 18px;
  align-items: center;
}

.mentor-card__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #f1f5f9;
}

.mentor-card__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1e293b;
}

.mentor-card__field {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #e84838;
}

.mentor-card__body {
  padding: 0 18px 18px;
}

.mentor-card__desc {
  font-size: 14px;
  color: #64748b;
  min-height: 42px;
  margin-bottom: 12px;
}

.mentor-card__meta {
  font-size: 13px;
  color: #475569;
  margin-bottom: 14px;
}

.mentor-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
}

.booking-pagination .btn {
  min-width: 40px;
}

.availability-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
}

.availability-form .row > [class*="col-"] {
  margin-bottom: 12px;
}

.slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfdf3;
  color: #166534;
  font-size: 13px;
  margin: 0 8px 8px 0;
}

.slot-badge.is-booked {
  background: #fef2f2;
  color: #991b1b;
}

.meeting-form-inline {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px;
  margin-top: 10px;
}

.appointment-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.appointment-status.confirmed { background: #dcfce7; color: #166534; }
.appointment-status.cancelled { background: #fee2e2; color: #991b1b; }
.appointment-status.pending { background: #fef9c3; color: #854d0e; }

.google-calendar-banner {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.google-calendar-banner.is-connected {
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.google-calendar-banner p {
  margin-bottom: 10px;
}

.profile-tab-panel { display: none; }
.profile-tab-panel.is-active { display: block; }

.booking-empty {
  padding: 24px;
  text-align: center;
  color: #64748b;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px dashed #cbd5e1;
}

.mentor-public-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .profile-booking-toolbar .form-control {
    width: 100%;
  }
}
