:root{
  --gf-sky-top:   #bcebff;
  --gf-sky-mid:   #a4f2ff;
  --gf-hill-light:#a9f25a;
  --gf-hill-dark: #5cc45a;

  --gf-card-bg:   #fff9e8;
  --gf-card-border:#f4c96b;

  --gf-accent:    #f7a524;
  --gf-accent-dark:#c96a1b;

  --gf-text-main: #4b3b26;
  --gf-text-soft: #7a6a52;
}

*,
*::before,
*::after{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  height:100%;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  background-image: url('/images/splash.png');
  background-size: cover;      
  background-position: center; 
  background-repeat: no-repeat; 
  background-attachment: fixed; 
}

/* ===== Pagina wrapper ===== */

.gf-auth-page{
  position:relative;
  min-height:100vh;
  overflow:hidden;
}


/* hoofdcontent gecentreerd */
.gf-auth-shell{
  position:relative;
  z-index:1;
  max-width:960px;
  margin:0 auto;
  padding:40px 16px 32px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:24px;
}

/* ===== Logo / titel ===== */

.gf-auth-logo{
  text-align:center;
  color:var(--gf-text-main);
}

.gf-auth-logo-cloud{
  width:140px;
  height:100px;
  margin:0 auto 8px;
  border-radius:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px;
}

.gf-auth-logo-cloud img{
  max-width:80px;
  height:auto;
}

.gf-auth-title{
  margin:0;
  font-size:26px;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-weight:800;
  text-shadow:0 2px 0 rgba(255,255,255,.8);
}

.gf-auth-subtitle{
  margin:4px 0 0;
  font-size:13px;
  color:var(--gf-text-soft);
}

/* ===== Card ===== */

.gf-auth-card{
  width:100%;
  max-width:420px;
  background:var(--gf-card-bg);
  border-radius:20px;
  border:2px solid var(--gf-card-border);
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  padding:16px 18px 18px;
  margin-top: 330px;
}

/* tabs bovenin */
.gf-auth-tabs{
  display:flex;
  gap:8px;
  padding:3px;
  border-radius:999px;
  background:rgba(255,255,255,.6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  margin-bottom:14px;
}

.gf-auth-tab{
  flex:1;
  border:none;
  border-radius:999px;
  padding:7px 10px;
  background:transparent;
  font-size:13px;
  font-weight:600;
  color:var(--gf-text-soft);
  cursor:pointer;
  transition:background .12s ease-out, box-shadow .12s, color .12s;
}

.gf-auth-tab.is-active{
  background:linear-gradient(135deg,#fff9e6,#ffe2b3);
  box-shadow:0 3px 6px rgba(0,0,0,.18);
  color:var(--gf-accent-dark);
}

/* forms */

.gf-auth-form{
  display:none;
  flex-direction:column;
  gap:10px;
}

.gf-auth-form.is-active{
  display:flex;
}

.gf-auth-field{
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:13px;
}

.gf-auth-field label{
  font-weight:600;
  color:var(--gf-text-main);
}

.gf-auth-inputwrap{
  position:relative;
  border-radius:999px;
  border:2px solid rgba(0,0,0,.08);
  background:rgba(255,255,255,.9);
  box-shadow:0 3px 0 rgba(0,0,0,.12);
  overflow:hidden;
}

.gf-auth-inputwrap input{
  width:100%;
  border:none;
  background:transparent;
  padding:8px 14px;
  font-size:14px;
  outline:none;
  color:var(--gf-text-main);
}

.gf-auth-inputwrap input::placeholder{
  color:#b4a38c;
}

.gf-auth-row-between{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  margin-top:2px;
}

.gf-auth-check{
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  color:var(--gf-text-soft);
}

.gf-auth-check input{
  width:14px;
  height:14px;
}

/* links */
.gf-auth-link{
  color:#2563eb;
  text-decoration:none;
}
.gf-auth-link:hover{
  text-decoration:underline;
}

/* primary button */
.gf-auth-btn-primary{
  margin-top:8px;
  border:none;
  border-radius:999px;
  width:100%;
  padding:9px 14px;
  font-size:15px;
  font-weight:700;
  background:linear-gradient(135deg,#fef08a,#f7a524);
  color:#3b1c00;
  cursor:pointer;
  box-shadow:0 5px 12px rgba(0,0,0,.25);
  border:2px solid #facc15;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}

.gf-auth-btn-primary:hover{
  background:linear-gradient(135deg,#fef9c3,#ffb938);
}

.gf-auth-btn-primary:active{
  transform:translateY(1px);
  box-shadow:0 3px 8px rgba(0,0,0,.35);
}

/* kleine tekst onder signup */
.gf-auth-smallnote{
  margin:6px 0 0;
  font-size:11px;
  color:var(--gf-text-soft);
  text-align:center;
}
.gf-auth-smallnote a{
  color:#2563eb;
  text-decoration:none;
}
.gf-auth-smallnote a:hover{
  text-decoration:underline;
}

/* ===== Responsiveness ===== */

@media (max-width:600px){
  .gf-auth-shell{
    padding-top:28px;
    gap:18px;
  }
  .gf-auth-card{
    padding:14px 14px 16px;
  }
}

    .lang-switch { position: fixed; right: 12px; top: 50px; z-index: 500; }
    .lang-switch a { margin-left: .5rem; text-decoration: none; opacity:1 }
    .lang-switch img { width: 26px; height: 26px; }
    .lang-switch a.active { font-weight: 600; opacity:1; text-decoration: underline; }
    .login-container { max-width: 420px; margin: 64px auto; }


  .mascot-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  .mascot-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  /* Container rechtsonder */
  .mascot-bubble {
    position: fixed;
    right: 18px;
    bottom: 0;                /* exact tegen onderrand */
    max-width: 430px;
    width: calc(100% - 36px);
    display: flex;
    gap: 12px;
    align-items: flex-end;
    z-index: 9999;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .3s ease, opacity .3s ease;
    padding-bottom: 4px;       /* subtiele lucht */
  }
  .mascot-bubble.is-visible {
    transform: translateY(0);
    opacity: 1;
  }

  /* Hero-figuur (groter en onderaan vast) */
  .mascot-avatar {
    width: 150px;
    height: 185px;
    flex: 0 0 150px;
    background: url('/images/mascotte/mint.png') bottom center / contain no-repeat;
    align-self: flex-end;
    margin-bottom: -4px;       /* net boven rand voor natuurlijk effect */
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35));
  }

  /* Kaartje netjes naast de voeten */
  .mascot-card {
    background: #111827;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
    position: relative;
    margin-bottom: 14px;       /* iets minder ruimte */
  }

  /* “pijltje” naar de avatar */
  .mascot-card::before {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 34px;              /* perfect uitgelijnd */
    border: 8px solid transparent;
    border-right-color: #111827;
  }

  /* Tekst en titel */
  .mascot-title {
    font-weight: 700;
    margin: 0 24px 4px 0;
    font-size: 16px;
  }
  .mascot-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: #e5e7eb;
  }

  /* Sluitknop rechtsboven */
  .mascot-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease;
  }
  .mascot-close:hover {
    background: rgba(255, 255, 255, .18);
  }

  /* Actieknoppen */
  .mascot-actions {
    margin-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .mascot-btn {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s ease;
    text-decoration: none;
  }

  /* Primaire knop */
  .mascot-btn-primary {
    background: #6cc51d;
    color: #fff;
  }
  .mascot-btn-primary:hover {
    background: #5cb81a;
  }

  /* Secundaire knop */
  .mascot-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  .mascot-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
  }

  /* Mobiel tweaks */
  @media (max-width: 420px) {
    .mascot-avatar {
      width: 115px;
      height: 135px;
      flex-basis: 115px;
      margin-bottom: -6px;
    }
    .mascot-card {
      margin-bottom: 10px;
    }
    .mascot-card::before {
      bottom: 26px;
    }
    .mascot-btn {
      font-size: 13px;
      padding: 8px 0;
    }
  }

  #toastContainer {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .toast {
    background: #323232;
    color: white;
    padding: 14px 22px;
    border-radius: 30px;
    font-size: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-width: 90vw;
    text-align: center;
  }
  .toast.show {
    opacity: 1;
    transform: translateY(0);
  }
  .toast.success {
    background: #4CAF50;
  }
  .toast.error {
    background: #E53935;
  }
  .toast.info {
    background: #2196F3;
  }