body {
  font-family: 'Manrope', 'Segoe UI', 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at 22% 18%, #eef3ff 0, #f6f9fd 32%, #fdfdfd 60%, #ffffff 100%);
  color: #0b1220;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(14, 165, 233, 0.14) 1px, transparent 1px),
    linear-gradient(60deg, rgba(15, 31, 61, 0.16) 1px, transparent 1px);
  background-size: 280px 280px, 320px 320px;
  mix-blend-mode: multiply;
  opacity: 0.22;
  z-index: 0;
  animation: networkDrift 28s linear infinite alternate;
  pointer-events: none;
}

@keyframes networkDrift {
  0% { background-position: 0 0, 0 0; }
  50% { background-position: 60px -80px, -50px 70px; }
  100% { background-position: -80px 120px, 90px -120px; }
}

header {
  background: #ffffff;
  color: #0b1220;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(15, 26, 42, 0.06);
}

nav {
  background: #ffffff;
  padding: 1rem 2rem;
  text-align: right;
  box-shadow: 0 10px 25px rgba(15, 26, 42, 0.06);
}

nav button {
  background: #0f1f3d;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  margin-left: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

nav button:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}

.cta {
  max-width: 760px;
  margin: 3rem auto;
  background: linear-gradient(145deg, #ffffff 0%, #f7fbff 60%, #eef4ff 100%);
  padding: 3rem 2.5rem;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(15, 26, 42, 0.1);
  border: 1px solid #e5e7eb;
}

.cta h2 {
  margin-top: 0;
  font-weight: 800;
  font-size: 2rem;
  color: #0f1f3d;
}

form {
  display: flex;
  flex-direction: column;
}

input, button, select {
  margin: 0.75rem 0;
  padding: 1rem;
  font-size: 1.05rem;
  border-radius: 10px;
  border: 1px solid #d0d7e2;
}

input, select {
  background: #ffffff;
  color: #0b1220;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'><path fill='%231f3d7a' d='M7 10l5 5 5-5z'/></svg>");
}

input:focus, select:focus, select:active {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

input:hover, select:hover {
  border-color: #0f1f3d;
}

select option {
  background: #ffffff;
  color: #0b1220;
}

button {
  background: #0f1f3d;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

button:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.25);
}

.gdpr-section {
  background: #f2f6fb;
  border-left: 4px solid #0f1f3d;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 1.5rem 0;
}

.gdpr-section h3 {
  margin-top: 0;
  color: #0f1f3d;
  font-size: 1.05rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  margin: 1rem 0;
  cursor: pointer;
  font-size: 0.95rem;
  color: #0b1220;
}

.checkbox-label input {
  margin: 0.25rem 0.75rem 0 0;
  cursor: pointer;
  flex-shrink: 0;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
}

.checkbox-label span {
  line-height: 1.5;
}

.gdpr-notice {
  font-size: 0.9rem;
  color: #475569;
  margin: 1rem 0 0 0;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.gdpr-notice a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gdpr-notice a:hover {
  color: #0f1f3d;
  text-decoration: underline;
}

.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.customGPlusSignIn {
  display: inline-block;
  background: #0ea5e9;
  color: white;
  width: 240px;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
}

.customGPlusSignIn:hover {
  background: #0f1f3d;
}

#formMessage {
  margin-top: 1rem;
  font-weight: 700;
  color: #0f1f3d;
  min-height: 1.5em;
}

footer {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  margin-top: auto;
  color: #4b5563;
  font-size: 0.95rem;
  border-top: 1px solid #e5e7eb;
}

#dashboardSection button {
  margin-top: 1rem;
  background: #0f1f3d;
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

#dashboardSection button:hover {
  background: #0ea5e9;
  transform: translateY(-1px);
}