/* Basic body and global styles */

body {
  background-color: #f6f8fa;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
  color: #24292e;
  padding-top: 60px;
}

/* Ensure no horizontal scroll */
html, body {
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

/* Navbar Full-Width Background with Stronger Shadow */
.navbar-container {
  width: 100%; /* Span the full width of the page */
  background-color: #fafbfc;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Stronger shadow */
  position: fixed; /* Fix the position of the navbar */
  top: 0; /* Stick the navbar to the very top of the page */
  left: 0;
  right: 0;
  z-index: 1000; /* Ensure it stays above other content */
}

/* Navbar content slightly inward with padding */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 40px; /* Added 40px padding to bring content inward */
  width: 100%;
  position: relative;
  z-index: 100;
  height: auto;
  box-sizing: border-box;
  background-color: inherit; /* Retain the original background color */
  color: inherit;
}

/* Logo Styles */
.navbar-logo {
  font-size: 1.5em;
  font-weight: bold;
}

.navbar-logo a {
  font-size: 20px;
  font-weight: bold;
  color: #0366d6; /* Blue color for the logo */
  text-decoration: none;
}

.placeholder-logo {
  font-size: 24px;
  font-weight: bold;
  color: #0366d6; /* Blue color for "velolist.cc" */
}

/* Navbar Buttons */
.navbar-buttons {
  display: flex;
  gap: 15px;
}

.navbar-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0366d6; /* Primary blue color */
  color: white;
  border-radius: 6px;
  text-align: center;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.navbar-btn:hover {
  background-color: #0056b3; /* Darker shade of primary color */
}

/* User profile dropdown */
.user-profile-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.user-profile-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  background-color: #0366d6; /* Blue color for profile button */
  overflow: hidden;
}

.user-profile-button .profile-image,
.initials-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.user-profile-button .profile-image {
  object-fit: cover;
}

/* Dropdown menu */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* Align it directly below the user button */
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1500; /* Make sure it sits above other elements */
  min-width: 150px;
  overflow: visible;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  background-color: #fafbfc;
  transition: background-color 0.2s;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0;
}

/* Hero Section - Full Width, Extending to the Top 
.hero-section {
  background-color: #0366d6;
  color: white;
  padding: 100px 20px 40px 20px; /* More padding on top, less on bottom 
  text-align: center;
  position: relative;
  width: 100%;
  margin: 0;
  z-index: -1; /* Send it behind the navbar 
  height: 300px; /* Fixed height for the hero section 
}*/


/* Hero Section - Full background image */
.hero-section {
  background-image: url('/media/hero_image.jpg');
  background-size: cover; /* Ensures the image covers the entire section */
  background-position: center; /* Centers the image */
  background-repeat: no-repeat; /* Prevents the image from repeating */
  padding: 100px 0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  width: 100%;
  height: 600px; /* Set a fixed height based on image's aspect ratio */
  margin: 0;
  box-sizing: border-box;
  overflow: hidden; /* Prevent content from overflowing */
}

/* Center the hero content within a container */
.hero-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section Text Styles - Apply shadow in all sizes */
.hero-section h1 {
  font-size: 48px; /* Or whatever size you prefer */
  line-height: 1.2;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Subtle black shadow */
}

.hero-section p {
  font-size: 18px;
  color: white;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8); /* Increase shadow opacity and blur */
}


/* For larger screens - fine-tune the background position and size */
@media (min-width: 1200px) {
  .hero-section {
    background-size: 110%; /* Slightly zoom out */
    background-position: center 25%; /* Adjust focus upwards */
    height: 800px; /* Increase height for larger screens */
  }
}

/* For very large screens */
@media (min-width: 1600px) {
  .hero-section {
    background-size: 100%; /* Use the image's full size */
    background-position: center 30%;
    height: 900px; /* Adjust height for very large screens */
  }
}

/* For smaller screens - keep the content within the hero section */
@media (max-width: 768px) {
  .hero-section {
    background-size: cover; /* Ensure image covers the full section */
    background-position: center;
    height: auto; /* Let height adjust based on content */
    padding: 60px 0; /* Reduce padding for smaller screens */
  }

  .hero-section .container {
    padding: 0 15px; /* Reduce padding for smaller screens */
  }

  .hero-section h1 {
    font-size: 28px; /* Reduce font size for smaller screens */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Shadow remains the same */
  }

  .hero-section p {
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Shadow remains the same */
  }
}

/* For extra small screens */
@media (max-width: 576px) {
  .hero-section {
    background-size: cover;
    background-position: center;
    padding: 50px 0; /* Adjust padding for extra small screens */
    height: auto; /* Adjust height based on content */
  }

  .hero-section h1 {
    font-size: 24px; /* Further reduce font size */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Shadow remains the same */
  }

  .hero-section p {
    font-size: 14px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Shadow remains the same */
  }
}

/* CTA button styling */
.cta-button {
  background-color: #0366d6; /* Set the button background color */
  color: white; /* Set the text color to white */
  border: none; /* Remove any default border */
  padding: 12px 24px; /* Adjust padding as needed */
  font-size: 18px; /* Adjust font size */
  border-radius: 5px; /* Optional: rounded corners */
  cursor: pointer; /* Change cursor to pointer on hover */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effect for CTA button */
.cta-button:hover {
  background-color: #025bb5; /* Darken the button on hover */
}




/* Filter Pane styles */

#filter-pane select {
  width: 100%;
  padding: 8px;
  margin: 10px 0;
  box-sizing: border-box;
  border-radius: 6px;
  border: 1px solid #e1e4e8;
  background-color: #fafbfc;
}

.filter-criterion {
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid #e1e4e8;
}

.country-filter-option.selected {
  background-color: #e0e0e0; /* Example background color for selected countries */
  border-radius: 4px; /* Optional: rounded corners for aesthetics */
}

.unselected {
  font-weight: normal;
  color: #586069;
}

.selected {
  font-weight: bold;
  color: #24292e;
}

/* City Cards and related elements */

.city-cards {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-left: 0px;
  padding: 16px;
}

.city-card {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Align children to the center horizontally */
  justify-content: flex-start; /* Align children to the top vertically */
  margin: 10px;
  padding: 20px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background-color: #fff;
}

/* Ensure the city name is always visible */
.city-title {
  position: absolute; /* Stay at the top of the card */
  top: 10px; /* Adjust as needed */
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10; /* Ensure it's on top of the card content */
  font-size: 24px;
  color: #000;
  text-shadow:
    -1px -1px 0 #fff,  
     1px -1px 0 #fff,
    -1px 1px 0 #fff,
     1px 1px 0 #fff; /* Keep the white outline for readability */
}

.city-card.active {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 90vh;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Ensure the city card does not overflow its container */
}

.scrollable-content {
  flex-grow: 1;
  overflow-y: auto; /* Only this container should be scrollable */
  max-height: calc(100% - 60px); /* Adjust to limit the scrollable area based on card size */
  padding-top: 20px; /* Adjust for proper spacing from the header */
}

.city-card.active .city-details {
  position: relative;
  max-height: unset; /* Remove the max-height restriction */
  overflow-y: unset; /* Remove scrolling behavior from city-details */
}

.strava-logo {
  position: absolute;
  bottom: -50px; /* Adjust as needed */
  left: 0;
  width: 100px; /* Adjust as needed */
  margin-left: 10px; /* Adjust for spacing */
}

/* Updated CSS for the background images */
.city-card .city-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensuring the image covers the entire card */
  position: absolute; /* Positioning the image absolutely within the card */
  top: 0; /* Aligning the image to the top of the card */
  left: 0; /* Aligning the image to the left of the card */
  z-index: 0; /* Positioning the image below the text and other content */
}

/* Updated CSS for hiding the image in the active state */
.city-card.active .city-background-image {
  display: none;
}

/* Show the close button only on active city cards */
.city-card.active .close-button {
  display: flex;
  position: absolute;
  top: 10px;
  left: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  color: #24292e;
  z-index: 1500;
  background-color: white;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

/* Hide the close button on inactive city cards */
.city-card .close-button {
  display: none;
}

.city-card.active .close-button {
  display: flex; /* Make sure it's visible for active cards */
}

/* Optionally, add a hover effect for better user experience */
.city-card.active .close-button:hover {
  background-color: #ddd;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.city-details {
  order: 3; /* Ensure details come after the map */
  /* Rest of your styles... */
}

.city-details table {
  width: 100%;
  max-height: 60vh;
  margin-top: 10px;
  overflow-y: auto;
}

.city-details th {
  text-align: center;
  padding: 5px;
  border-bottom: 1px solid #ddd;
}

.city-details td {
  padding: 5px;
  border-bottom: 1px solid #ddd;
}

.city-details th:first-child,
.city-details td:first-child {
  text-align: left;
}

.tabs {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e1e4e8;
}

.tab-link {
  padding: 10px 15px;
  text-align: center;
  cursor: pointer;
  color: #586069;
  border: 1px solid #e1e4e8;
  background-color: #fafbfc;
  border-bottom: none;
  transition: color 0.2s, background-color 0.2s;
}

.tab-link:hover {
  color: #24292e;
  background-color: #f6f8fa;
}

.tab-link.active {
  color: #24292e;
  background-color: #fff;
  border-top: 2px solid #0366d6;
  border-left: 1px solid #e1e4e8;
  border-right: 1px solid #e1e4e8;
  border-bottom: none;
}

.tab-content {
  padding: 20px;
}

.map-container {
  width: 100%;
  height: 200px; /* Adjust the height as needed */
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  overflow: hidden; /* To ensure rounded corners */ 
}

.map {
  width: 100%;
  height: 100%;
}

.city-card.active .map-container {
  padding-top: 40px;
  min-height: 50vh; /* Adjust as needed for the expanded view */
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  overflow: hidden;
}

/* Score Bar */

.score-bar-container {
  width: 100%;
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  height: 20px;
}

.score-bar {
  height: 20px;
  border-radius: 5px;
  transition: width 0.5s ease-in-out;
}

.score-bar.climbing {
  background-color: #2196F3;
}

.score-bar.restaurant {
  background-color: #2196F3;
}

.score-bar.attractions {
  background-color: #2196F3;
  height: 20px;
}

.score-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px; /* Adjust as needed for spacing */
}

.score-title {
  width: 120px; /* Fixed width for all titles */
  margin-right: 10px; /* Adjust as needed for spacing */
  white-space: nowrap; /* Prevents the title from wrapping */
}

.score-bar-container {
  flex-grow: 1; /* Allows the container to fill the remaining space */
  background-color: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  height: 20px; /* Set a fixed height for the bars */
}

.score-bar {
  height: 100%; /* Fill the container's height */
  border-radius: 5px;
  transition: width 0.5s ease-in-out;
}

/* Content Container Full-Width */
.content-container {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  width: 100%; /* Full width to match navbar and hero section */
  max-width: 1200px; /* Max width to match navbar and hero section */
  margin: 0 auto; /* Center the content */
  padding: 20px;
  box-sizing: border-box;
}

/* Filter Pane Styling for larger screens */
#filter-pane {
  width: 250px; /* Fixed width */
  position: relative;
  flex-shrink: 0;
  padding: 20px;
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #e1e4e8;
}

/* Sticky behavior for larger screens (desktop/tablets) */
@media screen and (min-width: 769px) {
  #filter-pane {
    position: sticky;
    top: 20px; /* Sticky position when scrolled */
  }
}

/* Responsive Filter Pane and City Cards */
/* Responsive adjustments for smaller screens (mobile) */
@media screen and (max-width: 768px) {
  .content-container {
    flex-direction: column; /* Stack elements vertically */
  }

  #filter-pane {
    position: static; /* Disable sticky behavior on small screens */
    order: -1; /* Move filter pane above city cards */
    width: 100%; /* Full width on small screens */
    margin: 0 auto; /* Center align filter pane */
  }

  .city-cards {
    margin: 0 auto; /* Center the city cards */
    justify-content: center; /* Align the cards in the middle */
  }
}

/* Styling for form elements inside the filter pane */
#filter-pane select,
#filter-pane input[type="range"] {
  width: 100%; /* Full width for form controls */
  padding: 8px;
  margin-bottom: 10px; /* Space between form elements */
  box-sizing: border-box;
}

/* Improved range input style */
#filter-pane input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  background: #ddd;
  outline: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

#filter-pane input[type="range"]:hover {
  opacity: 1; /* Brighten range input on hover */
}

/* Max Width for Page Content */
.container {
  max-width: 1200px; /* Or any other suitable max width */
  margin: auto; /* Center the container */
}

/* Max Width for Page Content */
.dashboard-container {
  max-width: 1200px; /* Or any other suitable max width */
  margin: auto; /* Center the container */
}

#visitedCitiesContainer, #wantToVisitCitiesContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  align-items: stretch;
}

.rating-card-city-image {
  width: 100%; /* Adjust the width as needed */
  height: auto; /* Keep the original aspect ratio */
  margin-top: 10px; /* Space between the city name and the image */
  border-radius: 6px; /* Optional: for rounded corners */
}

#mc_embed_signup {
  background-color: rgba(0, 191, 255, 0.2);
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  color: #24292e;
  max-width: 1200px; /* Match the navbar width */
  padding: 16px;
  margin: 20px auto; /* Center the form */
  display: flex;
  flex-direction: column;
  align-items: center;
}

#mc_embed_signup form {
  width: 100%;
}

#mc_embed_signup .mc-field-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 0; /* Remove any margin-bottom */
}

#mc_embed_signup input[type="email"] {
  flex-grow: 1; /* Allow the input to grow and take up available space */
  margin-right: 10px; /* Space between the input and the button */
  padding: 8px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  background-color: #fafbfc;
}

#mc_embed_signup input[type="submit"] {
  padding: 10px 15px;
  background-color: #0366d6;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#mc_embed_signup input[type="submit"]:hover {
  background-color: #0056b3;
}

#mc_embed_signup label {
  display: block;
  margin-bottom: .5em;
  font-weight: bold;
}

#mc_embed_signup .asterisk {
  color: #cb2431;
}

#mc_embed_signup .response {
  display: none; /* Initially hidden, displayed after an error or success */
  margin-top: 10px;
  padding: 10px;
  border-radius: 6px;
  background-color: #e9ecef;
  color: #24292e;
}

#mc_embed_signup .mce_inline_error {
  margin-top: 10px;
  padding: 5px 10px;
  background-color: #faa;
  color: #a00;
  font-size: 14px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  #mc_embed_signup .mc-field-group {
    flex-direction: column;
    align-items: stretch;
  }

  #mc_embed_signup input[type="email"] {
    margin-right: 0;
    margin-bottom: 10px; /* Space between the input and the button on mobile */
  }
}

#mc_embed_signup_scroll {
  display: flex;
  justify-content: center; /* Horizontally center the form-content */
  align-items: center; /* Vertically center the form-content */
  text-align: center; /* Center text inside the form-content */
}

.form-content {
  display: flex;
  align-items: center; /* Align items in a row and center them vertically */
  justify-content: center; /* Center the items horizontally */
  gap: 10px; /* Space between elements */
}

#mc_embed_signup .button {
  background-color: #1E90FF; /* Fluorescent blue color for the subscribe button */
  color: white; /* Ensure text color is white for better readability */
  border: none; /* Remove border if present */
  padding: 10px 15px; /* Adjust padding as needed */
  border-radius: 6px; /* Rounded corners for the button */
  cursor: pointer; /* Cursor changes to pointer to indicate it's clickable */
  transition: background-color 0.3s; /* Smooth transition for hover effect */
}

#mc_embed_signup .button:hover {
  background-color: #00BFFF; /* Slightly darker shade of blue on hover */
}

@media (max-width: 768px) {
  .form-content {
    flex-direction: column; /* Stack elements vertically on smaller screens */
  }
}

/* LOGIN / SIGNUP CSS */

/* General styles for the login page */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  background-color: #f6f8fa; /* Ensure background color matches the body */
}

.login-container {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff; /* Ensure the form background is white */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.input-wrapper {
  position: relative;
  margin-bottom: 20px;
}

.input-wrapper input {
  width: 100%;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box; /* Added box-sizing to prevent overflow */
}

.continue-btn {
  width: 100%;
  padding: 14px;
  background-color: #0366d6; /* Update button to primary blue color */
  border: none;
  color: white;
  font-size: 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.continue-btn:hover {
  background-color: #0056b3; /* Hover state of the button */
}

.divider-wrapper {
  display: flex;
  align-items: center;
  margin: 30px 0;
}

.divider-wrapper .divider {
  flex: 1;
  border-top: 1px solid #ddd;
}

.divider-wrapper span {
  margin: 0 10px;
  font-size: 14px;
  color: #666;
}

.social-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gsi-material-button, .social-btn {
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background-color: #fff;
  font-size: 16px;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.gsi-material-button:hover, .social-btn:hover {
  background-color: #f0f0f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.oai-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
}

.oai-footer a {
  color: #007bff;
  text-decoration: none;
}

.oai-footer a:hover {
  text-decoration: underline;
}

.oai-footer .separator {
  margin: 0 10px;
  color: #666;
}

/* Center the title */
.title-wrapper {
  text-align: center; /* Horizontally center the text */
  margin: 0 auto;     /* Ensure auto margins center the container */
}

.title {
  font-size: 26px;    /* Adjust the font size as needed */
  font-weight: bold;  /* Make it bold for better visibility */
  margin: 20px 0;     /* Add margin for spacing */
  color: #333;        /* Set color as needed */
}

/* City Rating Card Styles */

.cityRatingCard {
  width: 100%;
  max-width: 350px; /* Adjusted max-width */
  padding: 15px;
  border: 1px solid #d1d5da;
  border-radius: 6px;
  background-color: #ffffff;
  box-shadow: 0 1px 3px rgba(27, 31, 35, 0.12), 0 8px 24px rgba(27, 31, 35, 0.12);
  margin: 10px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.rating-card-city-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.cityRatingCard h3 {
  margin: 10px 0;
  font-size: 20px;
  text-align: center;
  color: #0366d6;
}

.ratingForm {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.experienceLink {
  margin-top: 10px;
  cursor: pointer;
  color: #0366d6;
  font-weight: bold;
  text-align: center;
}

.experienceLink:hover {
  text-decoration: underline;
}

.ratingCategory {
  margin-bottom: 15px; /* Space between categories */
  width: 100%; /* Ensure full width for each category */
}

.ratingCategory label {
  font-weight: bold;
  font-size: 16px;
  display: block;
  text-align: center;
  margin-bottom: 5px;
}

.ratingDescription {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 10px; /* Space between description and buttons */
}

.ratingButtons {
  display: flex;
  justify-content: space-between; /* Ensure buttons are evenly spaced */
  padding: 0 10px; /* Add padding to the sides to prevent buttons from touching the card edges */
}

.voteButton {
  background-color: #f6f8fa;
  border: 1px solid #d1d5da;
  border-radius: 3px;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 14px;
  flex-grow: 1; /* Allow buttons to grow equally */
  margin: 0 2px; /* Add some horizontal margin between buttons */
}

.voteButton:first-child {
  margin-left: 0; /* Ensure first button is flush with the left padding */
}

.voteButton:last-child {
  margin-right: 0; /* Ensure last button is flush with the right padding */
}

.voteButton:hover {
  background-color: #e1e4e8;
}

.deleteButton {
  align-self: flex-end;
  background-color: transparent;
  border: none;
  color: #d73a49;
  cursor: pointer;
  font-size: 16px;
}

.deleteButton:hover {
  color: #b31d28;
}

.cityRatingCard h3, .experienceLink {
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .cityRatingCard {
    max-width: 100%; /* Full width on smaller screens */
    margin: 10px; /* Adjust margin for spacing */
  }
}

/* Loader styles */
.loader {
  display: none; /* Initially hidden */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid #e1e4e8; /* Light gray for background */
  border-top: 5px solid #0366d6; /* Your site's primary blue color */
  border-radius: 50%;
  animation: spin 1s linear infinite; /* Infinite spin animation */
  z-index: 1000; /* Ensure it appears above other content */
}

/* Loader animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Social buttons */

.gsi-material-button {
  display: flex;
  align-items: center;
  background-color: white;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  padding: 10px;
  width: 100%; /* Keeping the button width consistent */
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.gsi-material-button:hover {
  background-color: #f0f0f0;
}

.gsi-material-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.gsi-material-button-icon {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.gsi-material-button-contents {
  font-size: 16px;
  color: #5f6368;
  font-family: 'Roboto', sans-serif;
}

/* Additional styling for the existing social buttons */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #e1e4e8;
  border-radius: 6px;
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
  background-color: white;
  transition: background-color 0.3s ease;
}

.social-btn:hover {
  background-color: #f0f0f0;
}

.social-logo-wrapper {
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.social-text {
  font-size: 16px;
  color: #5f6368;
  font-family: 'Roboto', sans-serif;
}

.info-icon {
  margin-left: 5px;
  position: relative;
  cursor: pointer;
  z-index: 30;
}

.info-icon i {
  color: #888;
}

.info-icon:hover i {
  color: #00bfff;
}

.info-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 40;
}

.info-icon:hover::after {
  opacity: 1;
  visibility: visible;
}