 * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      font-family: 'Roboto', sans-serif;
      color: #363636;
    }

    a {
      text-decoration: none;
      color: #16a085;
    }

    a:hover {
        color: #128b73;
    }

    .container {
      display: grid;
      grid-template-columns: 20% 60% 20%;
      min-height: 100vh;
    }

    .menu {
      padding: 1rem;
      border-right: 1px solid #F6F7FB;
      position: sticky;
      top: 0;
      height: 100vh;
      overflow-y: auto;
    }


    .menu svg {
      background-color: #fff;
      border-radius: 30px;
      fill: #fc5252;
      padding: 5px;
    }

    .menu-button:not(.active):hover svg {
      background-color: #1abc9c;
    }

    .menu-button.active svg {
      background-color: #1abc9c;
      border-radius: 30px;
      padding: 5px;
    }

    .menu-button:not(.active) .menu-icon {
      background-color: #fff;
    }

    .menu-button:not(.active):hover .menu-icon {
      background-color: #1abc9c;
    }

    .menu-button:not(.active) svg {
      fill: #1abc9c;
    }

    .menu-button:not(.active):hover svg {
      fill: #fff;
    }

    .menu ul {
      padding: 0 10px;
    }

    .menu li {
      list-style: none;
    }

    .menu h2 {
      margin: 30px 30px 60px 30px;
      font-size: 32px;
    }

    .content h1 {
      color: #1abc9c;
      margin-top: 40px;
    }

    .content h2 {
      color: #3f3f3f;
    }

    .sidebar {
      background: #F6F7FB;
      padding: 1rem;
      border-right: 1px solid #F6F7FB;
      /* position: sticky; */
      top: 0;
      height: 100%;
      /* overflow-y: auto; */
    }

    .sidebar .latest-lists-header {
        margin-top: 10px;
    }

    .sidebar .sidebar-card-content h3 {
        color: #616161;
    }

    .sidebar .sidebar-card-content:hover h3 {
        color: #000;
    }

    .menu-button {
      display: flex;
      align-items: center;
      background-color: #fff;
      color: #28536b;
      border-radius: 15px;
      padding: 0.5rem;
      width: fit-content;
      text-decoration: none;
      transition: background-color 0.3s ease;
      margin-bottom: 5px;
      width: 100%;
    }

    .menu-button.active {
      background-color: #1abc9c;
      color: #fff;
    }

    .menu-button.active:hover {
      background-color: #1abc9c;
    }

    .menu-button:hover {
      background-color: #dbd3d8;
    }

    .menu-icon {
      background-color: #1abc9c;
      /* Slightly darker for icon background */
      border-radius: 15px;
      padding: 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 0.75rem;
    }

    .menu-icon svg {
      width: 32px;
      height: 32px;
      fill: white;
    }

    .menu-button.active svg {
      background-color: #16a085;
    }

    .menu-button.active .menu-icon {
      background-color: #16a085;
    }

    .menu-label {
      font-size: 1.2rem;
      font-weight: 500;
      padding-left: 20px;
    }

    .menu-header {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 30px;
    }

    .menu-header img {
      width: 64px;
      height: 64px;
      border-radius: 8px;
      object-fit: cover;
    }

    .menu-header h2 {
      font-size: 1.5rem;
      font-weight: 600;
      margin: 0;
      color: #1abc9c;
    }

    .latest-lists {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .list-card {
        position: relative;
        height: 200px;
        border-radius: 12px;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
        transition: transform .18s ease, box-shadow .18s ease;
        display: flex;
        align-items: flex-end;
        text-decoration: none;
        padding: 0;
    }

    .list-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    }

    .list-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.45) 100%);
        mix-blend-mode: multiply;
    }

    .list-card-content {
        position: relative;
        z-index: 2;
        padding: 14px;
        color: #fff;
        width: 100%;
        backdrop-filter: blur(2px);
    }

    .list-card-content h3 {
        margin: 0 0 6px 0;
        font-size: 1.05rem;
        line-height: 1.1;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    }

    .list-card-content p {
        margin: 0;
        font-size: .88rem;
        opacity: .95;
    }
    .list-card-content.cities h3 {
      font-size: 2.2rem;
    }

    
    .list-card-content.cities p {
      margin: 0 0 10px 10px;
    }

    .latest-lists-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 50px;
      margin-bottom: 10px;
    }

    .latest-lists-header h2 {
      margin: 0;
    }

    .city-stats {
      border-radius: 10px;
      width: 150px;
      padding: 5px;
      line-height: 20px;
    }

    .see-all {
      color: gray;
      font-size: 0.9rem;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .see-all:hover {
      color: #000;
    }

    .email_address {
        color: #2b2b2b;

    }

    .socials-container {
      margin-top: 30px;
      height: 40px
    }

    .socials {
      display: flex;
      position: absolute;
    }

    .socials a{
        color: #2b2b2b;
    }

    .socials svg {
      margin-right: 20px;
    }

    #back-to-up {
      position: fixed;
      bottom: 50px;
      right: 50px;
      background-color: #16a085;
      border-radius: 5px;
      width: 50px;
      height: 50px;
      text-align: center;
      fill: #fff;
    }

    #back-to-up svg{
      margin-top: 13px;
    }

    .d-none {
      display: none
    }

.page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    font-family: sans-serif;
}

.list-description {
    font-size: 18px;
    color: #555;
    margin-bottom: 40px;
}

.places {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.place-card {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.place-logo img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin: 16px;
    border-radius: 8px;
}

.place-details {
    padding: 16px;
    flex: 1;
}

.place-name {
    font-size: 20px;
    margin: 0 0 4px;
}

.place-name a {
    text-decoration: none;
    color: #0077cc;
}

.place-address,
.place-phones,
.place-website {
    font-size: 14px;
    color: #666;
    margin: 4px 0;
}

.place-website a,
.place-map a {
    color: #0077cc;
    text-decoration: underline;
}

.keywords {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.keyword {
    color: #0077cc;
    text-decoration: none;
    font-size: 14px;
}

.suggestions {
    margin-top: 60px;
}

.suggestions-title {
    font-size: 22px;
    text-align: center;
    margin-bottom: 30px;
}

.suggestion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.suggestion-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.suggestion-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.suggestion-info {
    padding: 12px;
    text-align: center;
}

.suggestion-info h3 {
    margin: 0;
    font-size: 16px;
}

.sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.latest-lists-header h2 {
    font-size: 18px;
    color: #1abc9c;
    font-weight: 600;
    border-bottom: 2px solid #1abc9c;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.sidebar-lists {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-card {
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

.sidebar-card:hover {
    transform: translateY(-2px);
}

.sidebar-card-content {
    display: flex;
    align-items: center;
    background: #fafafa;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s ease-in-out;
}

.sidebar-card-content:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.sidebar-card-content img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    margin-right: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-card-text h3 {
    font-size: 15px;
    font-weight: 600;
    color: #2e2e2e;
    margin: 0 0 4px 0;
}

.sidebar-card-text p {
    font-size: 13px;
    color: #7a7a7a;
    margin: 0;
}


.place-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
    margin: 50px 0;
}

.gallery-thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

/* Modal styles */
.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 9999;
    padding: 30px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.85);
}

.modal.hidden {
    display: none;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 0 20px #000;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.cover {
    width: 100%;
    height: 300px;
        background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
#searchResults{
  position: absolute;
  top: 35px;
  background: white;
}
#searchResults ul{
  margin: 0;
  padding: 15px;
}
#searchResults li{
  padding: 10px 0;
}
.search-wrapper {
  position: absolute;
  right: 40px;
  top: 30px;
  display: flex;
  height: 40px;
  border-radius: 40px;
  background: #fff;
  box-shadow: none;
  opacity: 0.9;
  z-index: 9;
}

.search-wrapper .search {
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0 15px;
  font-size: 16px;
  border-radius: 0;
  flex: 1;
  line-height: 40px;
}

.search-wrapper .search-button {
  border: none;
  outline: none;
  background: #128b73;
  color: #fff;
  padding: 0 20px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 0;
  line-height: 40px;
}


.space-20 {
    width: 100%;
    height: 20px;
}

.newsletter-box {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.newsletter-box h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: #333;
}

form {
    flex-direction: column;
    display: inline;
    font-size: 0;
}



@media (max-width: 768px) {
  #newsletter-form {
    flex-direction: column;
  }
}

input[type="email"] {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    width:160px;
    text-align: left; 
    margin:0;
    border-right: none;
    box-sizing: border-box;
    height: 40px;
}

input[type="email"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}

button {
    background: #3b82f6;
    margin:0;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.2s ease;
    width:85px;
    box-sizing: border-box;
    height: 40px;
}

button:hover {
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

.message {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.message.success {
    color: green;
}

.message.error {
    color: red;
}

.cover::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
      z-index: 0;
      transition: background 0.3s ease;
    }

    .cover h1 {
        position: absolute;
        left: 20px;
        bottom: 0;
        color: #fff;
    }
    .cover p {
        position: absolute;
        bottom: 0;
        color: #fff;
        right: 30px;
    }
    .languages {
        position: absolute;
        bottom: 30px;
        color: #9c9c9c;
    }
    .languages svg{
        padding: 0;
        margin-right: 10px;
    }

@media (max-width: 768px) {
    .container {
        display: block;
    }

    .menu,
    .content,
    .sidebar {
        width: 100%;
    }
    .places {
        grid-template-columns: 1fr;
    }

    .sidebar {
        height: auto;
    }

    .menu-button {
        padding: 10px 0;
    }

    .menu-label {
        padding: 0 10px;
    }

    .place-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .place-logo img {
        margin: 16px auto 0;
    }

    .menu-header {
        padding: 0;
        margin-bottom: 0;
    }

    .page {
        padding: 20px;
    }

    h1{
        margin: 0;
    }

    .latest-lists-header {
        margin-top: 30px;
    }

    .cover h1 {
        bottom: 10px;
        left: 10px;
    }

    #back-to-up {
        right: 10px;
        bottom: -10px;
    }
}
.auth-wrapper {
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  font-family: Arial, sans-serif;
}
.auth-card input[type="checkbox"] {

  accent-color:rgb(148, 199, 189);
}
.auth-card label[for="remind_password"] {
  font-size:14px;
  margin-top: 10px;
}

.auth-card a[id="forgot_password"]{
  font-size:15px;
  color: #1abc9c;
  position: absolute;
  top: 36.3%;
  left: 42.7%;
  transform: translate(-50%, -50%);
  text-shadow:2px 2px 4px rgb(99, 218, 194);
  text-underline-offset:2px;
  
}

.auth-card a[id="forgot_password"]:hover {
  text-decoration: underline ;
}


.auth-card {
  flex: 1;
  border: 1px solid #ddd;
  padding: 25px;
  border-radius: 8px;
}

.auth-card h2 {
  margin-bottom: 20px;
  color: #1abc9c;
}

.auth-card label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
  color: #333;
}

.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.auth-card button {
  background-color: #1abc9c;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.auth-card button:hover {
  background-color: #17a88c;
}

@media (max-width: 768px) {
  .auth-wrapper {
      flex-direction: column;
  }
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger svg{
  background-color: #1abc9c;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
  }
  .menu {
    width: 100%;
    background-color: #fff;
    z-index: 11;
    height: auto;
  }

  .menu ul {
    display: none;
  }

  .menu ul.open {
    display: block;
  }

  .languages {
    margin-top: 20px;
    bottom: 0;
    padding-left: 30px;
    height: 50px;
    position: relative;
    display: none;
  }

  .menu.open {
    display: block;
  }

  .languages.open {
    display: block;
  }

  .menu-icon {
    margin-left: 10px;
  }

  .search-wrapper {
    width: 94%;
    margin: 0 3%;
    right: auto;
    top: auto;
  }
}

li {
  list-style: none;
}

.pagination {
  display:flex;
  gap: 10px;
}

.page-link {
  color:white;
}
.pagination .page-link {
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.pagination .page-link:hover {
  background: #2563eb;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

.pagination .page-item.disabled .page-link {
  background: gray;
  color: white;
  cursor: not-allowed;
  box-shadow: none;
}



  .content_search .search-wrapper .search {
    background-color: #e7e1e1;  
    padding: 10px;              
    border: 1px solid #ccc;     
    border-radius: 0;          
    width: 100%;                
    box-sizing: border-box;    
}

.content_search {
  position: relative;
}

.icon_title {
  display: flex;
  gap: 8px;
  align-items: center;
  fill: #10b981;
}

.d-flex {
  display: flex;
  align-items: flex-end;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between; /* puts icon on right */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #10b981;
    margin: 0;
}

.section-icon {
    fill: #10b981; /* a pleasant green accent */
    transition: transform 0.3s ease;
}

.section-icon:hover {
    transform: rotate(10deg) scale(1.05);
}
