html, body {
  height: 100%;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Карта — под всеми */
#map {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Блюр — поверх карты, под формой */
#blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000; /* Над картой */
  backdrop-filter: blur(10px) brightness(0.9);
  pointer-events: none;
}

/* Контейнер с формой — поверх всего */
#auth-container {
  position: relative;
  z-index: 2000;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* Вся карточка формы */
.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  max-width: 400px;
  width: 100%;
  transition: 0.3s ease;
  text-align: center;
}

.brand {
  font-size: 1.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  color: #222;
  background: linear-gradient(90deg, #000000, #5c5c5c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tabs {
  display: flex;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  margin-bottom: 1rem;
  overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tab-button {
  flex: 1;
  padding: 0.75rem;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  color: #333;
}

.tab-button.active {
  background: rgba(255, 255, 255, 0.6);
  font-weight: bold;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form input {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.form button {
  padding: 0.75rem;
  background: black;
  color: white;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  font-weight: bold;
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: #222;
}

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.social-buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  cursor: pointer;
  font-weight: 500;
  color: #333;
  transition: 0.3s ease;
}

.social-buttons button:hover {
  background: white;
}
