/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

:root {
  --primary: #00c8ff;
  --background: #0a0f14;
  --surface: #1a1f26;
  --text: #ffffff;
  --input-bg: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--background);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.container {
  position: relative;
  text-align: center;
}

.logo {
  width: 280px;
  margin: 2rem auto;
  filter: drop-shadow(0 0 8px var(--primary));
}

.buttons .btn,
.form .btn {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 4px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0 0.5rem;
}

.buttons .btn:hover,
.form .btn:hover {
  background: var(--primary);
  color: var(--background);
}

.form {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hidden {
  display: none !important;
}

/* Back button styling, positioned just above logo */
.back-btn {
  position: absolute;
  top: 2.8rem;
  left: 0.01rem;
  background: transparent;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

/* Phone input group alignment */
.phone-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  max-width: 300px;
  width: 100%;
  margin: 1rem auto;
}

/* Country code dropdown styling */
#countryCode {
  padding: 0.75rem;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  appearance: none;
}

/* Ensure options are legible */
#countryCode option {
  background: var(--surface);
  color: var(--text);
}

/* Phone input styling, matched height with dropdown */
#phoneInput {
  flex: 1;
  padding: 0.75rem;
  height: 48px;
  border: none;
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 1rem;
}

#phoneInput::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
