/* Cleaned stylesheet — header icon and page background image applied */

:root{
  --bg-overlay: rgba(255, 255, 255, 0.21);
  --text: #12343b;
  --muted: #4d6b6a;
  --accent-1: #ffb74d;
  --accent-2: #ff7ab6;
  --accent-3: #ff7ab6;
  --radius-lg: 18px;
  --soft-shadow: 0 14px 30px rgba(18,52,59,0.08);
}

/* page background uses provided image (static/DubHacksBGReference.png) with light overlay */
html,body{
  height:100%;
  margin:0;
  font-family: "Baloo 2", Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color:var(--text);
  background-image:
    linear-gradient(var(--bg-overlay), var(--bg-overlay)),
    url('/DubHacksBGReference.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* header */
.site-header{
  position:fixed;
  top:0; left:0; right:0;
  height:72px;
  display:flex;
  align-items:center;
  padding:10px 20px;
  background: rgba(255,255,255,0.9);
  border-bottom:1px solid rgba(0,0,0,0.04);
  z-index:1200;
  box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.main-title{
  display: inline-block;
  margin: 0 auto 18px auto; /* center horizontally */
  background: #ff6aa3;      /* solid pink */
  color: #ffffff;           /* text white for contrast */
  border: 6px solid #ffffff;/* white border */
  padding: 12px 28px;
  font-size: 56px;         /* larger size */
  line-height: 1;
  font-weight: 900;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(255,106,154,0.18), 0 6px 12px rgba(0,0,0,0.08);
  width: fit-content;
}

/* image logo sizing and styling */
.logo { display:inline-flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.logo-img {
  width:56px; height:56px; object-fit:cover; border-radius:10px;

  padding:6px;
  background: rgba(255, 255, 255, 0);
  transform-origin:center;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%{transform:translateY(0) rotate(-2deg)}50%{transform:translateY(-6px) rotate(2deg)}100%{transform:translateY(0) rotate(-2deg)} }
.logo-text{ font-weight:700; color:var(--accent-2); font-size:18px; }

/* layout */
.main-content{ position:relative; z-index:10; max-width:980px; margin:0 auto; padding:120px 20px 48px; }

/* auth card */
.auth-section{
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #fffaf0);
  border-radius: var(--radius-lg);
  padding:22px;
  box-shadow: var(--soft-shadow);
  border:1px solid rgba(0,0,0,0.03);
  max-width:720px;
}

/* headings */
h1{ font-size:32px; margin:0 0 16px 0; color:#0e3840; }
h2{ margin:0 0 12px 0; color:var(--muted); font-weight:700; }

/* role buttons */
.role-choices{ display:flex; gap:18px; margin:16px 0; }
.role-btn{
  min-width:150px; padding:12px 18px; border-radius:999px; background:#fff;
  border:1px solid rgba(9,53,71,0.06); color:var(--text); font-weight:800;
  cursor:pointer; box-shadow: 0 6px 18px rgba(9,53,71,0.04); transition: transform .14s ease;
}
.role-btn:hover{ transform:translateY(-4px); box-shadow:0 12px 28px rgba(9,53,71,0.07); }
.role-btn.active{ background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); color:#fff; box-shadow:0 16px 36px rgba(208, 90, 90, 0.164); }

/* inputs and forms */
.auth-form{ margin-top:6px; }
.auth-form label{ display:flex; gap:12px; align-items:center; margin-bottom:12px; font-weight:700; color:var(--muted); }
.auth-form input{ flex:1; padding:12px 14px; border-radius:12px; border:1px solid rgba(9,53,71,0.06); background:#fff; color:var(--text); font-weight:600; }

/* buttons */
button{ -webkit-appearance:none; appearance:none; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 16px; border-radius:10px; border:1px solid rgba(0,0,0,0.06); background:#fff; color:var(--text); cursor:pointer; font-weight:700; transition: transform .12s ease, box-shadow .12s ease; }
button:hover{ transform:translateY(-3px); box-shadow:0 10px 26px rgba(9,53,71,0.06); }
button.primary{ background: linear-gradient(90deg, var(--accent-1), var(--accent-3)); color:#fff; border:none; min-width:140px; box-shadow:0 18px 40px rgba(123,228,166,0.14); }

/* small/wide inputs */
.small{ width:92px; } .wide{ width:128px; }

/* messages */
.auth-out{ margin-top:14px; padding:12px; border-radius:12px; background:#fffdf6; border:1px solid rgba(9,53,71,0.03); color:var(--text); font-weight:700; min-height:1.6em; }

/* helpers */
.hidden{ display:none !important; }
.row{ margin:10px 0; color:var(--muted); }
.link-button{ display:inline-block; padding:10px 14px; border-radius:10px; background:transparent; border:1px solid rgba(255,255,255,0.04); color:var(--accent-1); text-decoration:none; }

/* responsive */
@media (max-width:720px){
  .role-choices, .parent-actions{ flex-direction:column; gap:12px; }
  .main-content{ padding:100px 14px 36px; }
  .logo-text{ display:none; }
}