.flag-container {
  text-align: center; /* Centers the image inside */
  margin-top: 20px;
}

.country-flag {
  width: 100px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  display: inline-block; /* Ensures it's centered inside the text-align */
}

#country-partner {
  text-align: center;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  background-color: #fafafa;
  max-width: 600px;
}

#country-partner a {
  display: inline-block;
  margin-top: 10px;
  transition: transform 0.2s ease;
}

#country-partner a:hover {
  transform: scale(1.05);
}

.partner-logo {
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#country-partner p {
  margin-top: 15px;
  font-size: 1rem;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
}

.country-info-section {
  text-align: center;
  max-width: 700px;
  margin: 20px auto;
  padding: 15px;
  font-size: 1.1em;
  line-height: 1.6;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

#login-modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#login-modal.show {
    display: flex;
}

#login-modal .modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    z-index: 100000;
    position: relative;
    max-width: 400px;
    width: 90%;
}

#login-modal input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#login-modal .login-button {
    width: 100%;
    background-color: #3b82f6;
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#login-modal .login-button:hover {
    background-color: #2563eb;
}

#login-modal .register-button {
    width: 100%;
    background-color: #10b981;
    color: white;
    padding: 0.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#login-modal .register-button:hover {
    background-color: #059669;
}

#login-modal .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
}

.challenge-button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.duo-button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.duo-button-row .challenge-button {
  flex: 1 1 45%;
}

.styled-yeast-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.styled-yeast-table th,
.styled-yeast-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: left;
}

.styled-yeast-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

