/* 🌐 Global - mobile-first */
* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  
  padding: 12px;
}

/* Optional background image - uncomment if you have bg.jpg */
/*
body {
  background-image: url('bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
*/

/* MAIN wrapper so footer stays bottom and page centers nicely */
.main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex: 1;
  padding: 10px 0;
}

/* GLASS CARD */
.glass-container {
  background: rgba(255, 255, 255, 0.12);
  color: #f32121;
  border-radius: 16px;
  padding: 22px;
  width: 100%;
  max-width: 520px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  text-align: center;
  margin: 8px;
  animation: fadeIn 0.9s ease-in-out;
}

/* small appearance animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
.header {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f32121;
  color: white;
  border-radius: 12px;
  margin-bottom: 12px;
  position: sticky;
  top: 10px;
  z-index: 10;
}

.header .logo {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.header nav a {
  margin: 0 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: 0.25s;
}

.header nav a.active,
.header nav a:hover {
  color: #00e1ff;
  font-weight: 700;
}

/* Form elements */
h2 {
  margin: 6px 0 16px;
  font-weight: 600;
  font-size: 1.5rem;
  color: #f32121;;
}

input, select, textarea {
  width: 100%;
  padding: 10px;
  margin: 6px 0;
  font-size: 1rem;
  background: rgba(255,255,255,0.9);
  color: #333;
  border-radius: 5px;
  border: 1px solid #ccc;
}

/* Buttons */
button {
  background-color: #f32121;
      color: white;
      border: none;
      padding: 8px 20px;
      margin: 10px 10px 0 10px;
      border-radius: 5px;
      transition: all 0.3s ease;
  
  font-size: 16px;
  cursor: pointer;
  margin-top: 12px;
  width: 100%;
}

button:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg,#2575fc,#6a11cb);
}

/* Language switch */
.language-switch {
  margin: 8px 0;
  font-size: 14px;
  text-align: center;
}

.language-switch a {
  color: white;
  margin: 0 5px;
  text-decoration: underline;
}

/* Radio inline */
.radio-group-inline {
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}

.radio-group-inline label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

/* Footer */
.footer {
  width: 100%;
  max-width: 1200px;
  text-align: center;
  font-size: 12px;
  background: #f32121;
  color: #fff;
  padding: 8px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  margin-top: 12px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .glass-container {
    padding: 14px;
    max-width: 95%;
    border-radius: 12px;
  }
  .header {
    flex-direction: column;
    text-align: center;
    padding: 8px;
  }
  h2 { font-size: 1.3rem; }
  input, select, button, textarea { font-size: 0.95rem; padding: 10px; }
  .footer { font-size: 12px; padding: 8px; }
}

/* Helpful: center vertically on large screens with enough height */
@media (min-width: 900px) and (min-height: 800px) {
  .main { align-items: center; }
}