@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&display=swap');

:root {
  font-family: "Instrument Sans", sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color-scheme: light dark;
  color: rgba(255, 255, 255, 0.87);
  background-color: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background-color: #f0f2f5;
}

.container {
  width: 100%;
  min-height: -webkit-fill-available !important;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  align-items: flex-start;
}

.country-list-container {
  max-width: 226.83px;
  margin: 2rem auto 0 auto;
}

.country-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.country-list li a {
  display: flex;
  align-items: center;
  padding: 12px 0;
  text-decoration: none;
  color: #000000;
  font-size: 16px;
  transition: background-color 0.2s ease-in-out;
}

.country-list li a:hover {
  background-color: #f9f9f9;
}

.country-list li a img {
  margin-right: 16px;
  border-radius: 2px;
}

.country-list li a span {
  flex-grow: 1;
  color: #000000;
  font-weight: 400;
}

.selector-card {
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  height: 38px;
}

.arrow {
  color: #000000;
  font-weight: 400;
}

/* Tablet and Desktop styles */
@media (min-width: 769px) {
  .container {
    padding: 2rem;
    align-items: center;
  }

  .selector-card {
    display: flex;
    max-width: 797px;
    padding: 48px;
  }

  .logo-container {
    flex: 1;
    margin-right: 150px;
  }

  .country-list-container {
    flex: 1;
    max-width: none;
    margin: 0;
  }

  .country-list li a {
    padding: 12px 24px;
  }

  .logo {
    height: 65px;
  }
}

/* Tablet-specific adjustment */
@media (min-width: 769px) and (max-width: 1024px) {
  .logo-container {
    margin-right: 75px;
  }
}