/* Base reset */
* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: #f9fbfd;
  color: #333;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.5;
}

.consultant-avatar-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0; /* gap removed to allow overlap */
}

.consultant-avatar-group img.consultant-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #ccc;
  margin-left: -12px; /* overlap previous */
}

.consultant-avatar-group img.consultant-avatar:first-child {
  margin-left: 0; /* don't shift the first one */
}



.badge-row {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  z-index: 10;
}

.capacity-flex {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.capacity-flex label {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}

.price-flex {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-bottom: 12px;
}

.price-flex label {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
}


.badge {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: white;
  background-color: #444;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge.green {
  background-color: #28a745;
}

.badge.wildcard {
  background-color: #e40127;
}



/* Header */
header {
  background-color: #0081C6;
  padding: 16px 40px;
  color: white;
  display: flex;
  align-items: center;
  gap: 20px;
}

 badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  background: rgba(0, 129, 198, 0.9);
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 4px;
  margin-right: 6px;
  display: inline-block;
}
 venue-card {
  position: relative;
}
 badge.wildcard {
  background-color: #fc013a;
}
 badge.green {
  background-color: #00a86b;
}

header img {
  height: 40px;
}

header h1 {
  font-weight: 600;
  font-size: 1.8rem;
  margin: 0;
}

/* Main container */
main {
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Section headers */
.venue-heading {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 40px 0 20px;
  border-bottom: 3px solid #0081C6;
  padding-bottom: 8px;
  color: #005b96;
}

/* Venue container grid */
.venue-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.grid-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}




.bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-top: 60px;
  align-items: flex-start;
}

.consultant-info {
  max-width: 300px;
  flex: 1 1 280px;
  background: #f0f8ff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.consultant-info img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.shortlist-submit {
  flex: 1 1 400px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}


/* Shortlist form stays flexible */
.shortlist-submit {
  flex: 1 1 400px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}


/* Venue cards */
.venue-card {
  background: white;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}





/* Image & video styles */
.venue-card img,
.venue-card video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #f0f0f0;
}

/* Liked and removed states */
.venue-card.shortlisted {
  border: 3px solid #28a745 !important; /* green */
  box-shadow: 0 0 10px 3px rgba(40, 167, 69, 0.4);
  z-index: 2;
}

.venue-card.removed {
  border: 3px solid #dc3545 !important; /* red */
  opacity: 0.5;
  filter: grayscale(0.5);
  z-index: 1;
}

/* Dim unavailable venues */
.venue-card.dimmed {
  opacity: 0.5;
  filter: grayscale(0.6);
}

/* Interaction buttons */
.interaction {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.interaction button {
  background-color: #0081C6;
  border: none;
  color: white;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.interaction button:hover {
  background-color: #005b96;
}

/* Comment textarea */
.interaction label {
  flex-grow: 1;
  min-width: 180px;
  margin: 0;
}

.interaction textarea {
  width: 100%;
  min-height: 50px;
  padding: 8px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  resize: vertical;
  margin-top: 4px;
  font-family: inherit;
}

/* Submit section */
.shortlist-submit {
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 24px 32px;
  border-radius: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.shortlist-submit h2 {
  margin-top: 0;
  font-weight: 700;
  font-size: 1.8rem;
  color: #005b96;
  margin-bottom: 20px;
}

.shortlist-submit label {
  display: block;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 1rem;
}

.shortlist-submit input[type="text"],
.shortlist-submit input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin-top: 6px;
}

.shortlist-submit button {
  background-color: #0081C6;
  color: white;
  font-weight: 700;
  padding: 12px 24px;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#mapToggle {
  font-size: 0.95rem;
  font-weight: 500;
}


.shortlist-submit button:hover {
  background-color: #005b96;
}

#confirmationMsg {
  margin-top: 20px;
  font-weight: 600;
  color: #28a745;
  text-align: center;
}

@media (max-width: 1000px) {
  .venue-card {
    flex: 1 1 calc(33.333% - 24px);
    max-width: calc(33.333% - 24px);
  }
}

@media (max-width: 768px) {
  .venue-card {
    flex: 1 1 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}

@media (max-width: 500px) {
  .venue-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
