* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background-color: #212529;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.login-container {
  width: 480px;
  max-width: 100%;
  flex-shrink: 0;
  padding: 48px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.15);
  text-align: center;
}

.login-logo {
  width: 50%;
  margin-bottom: 1.5rem;
}

.welcome-title {
  color: #212529;
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 1.5rem;
  text-align: center;
}

.country-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.country-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 6px;
  background: rgba(33, 37, 41, 0.85);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
}

.country-btn:hover {
  background: rgba(33, 37, 41, 1);
}

.country-btn:active {
  transform: scale(0.98);
}

.country-btn span {
  text-align: left;
}

.country-btn img {
  width: 24px;
  height: auto;
  border-radius: 2px;
  margin-left: 12px;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 12px 24px;
  color: #f8f9fa;
  font-size: 13px;
}

/* Tablet */
@media (max-width: 1366px) {
  .login-container {
    width: 420px;
    padding: 40px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page {
    flex-direction: column;
    padding: 24px 16px;
  }

  .login-container {
    width: 100%;
    padding: 32px 24px;
  }

  .welcome-title {
    font-size: 1.25rem;
  }

  .country-btn {
    padding: 10px;
    font-size: 14px;
  }

  .footer {
    position: static;
    justify-content: center;
    margin-top: 24px;
    text-align: center;
  }
}
