/* Extracted from signup.html */
/* 1. Login's Color Palette */
    :root {
      --blue-dark: #021C3F;
      --blue-light: #004C93;
      --green-accent: #20D68F;
      --yellow-accent: #FFD84D;
      --white: #ffffff;
    }

    /* 2. Login's Base Styles */
    body,
    html {
      margin: 0;
      padding: 0;
      height: 100%;
      font-family: 'Fira Sans', sans-serif;
    }

    /* 3. Login's Background with soft glow accents and gradient */
    .auth-page-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 100vh;
      background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
      overflow: hidden;
    }

    /* 4. Yellow + Green glowing blobs */
    .auth-page-wrapper::before,
    .auth-page-wrapper::after {
      content: "";
      position: absolute;
      width: 650px;
      height: 650px;
      border-radius: 50%;
      filter: blur(130px);
      opacity: 0.25;
      z-index: 0;
    }

    .auth-page-wrapper::before {
      background: var(--yellow-accent);
      top: -150px;
      left: -150px;
    }

    .auth-page-wrapper::after {
      background: var(--green-accent);
      bottom: -150px;
      right: -150px;
    }

    /* Center content column (panel slightly wider now) */
    .auth-container {
      position: relative;
      z-index: 1;
      text-align: center;
      color: var(--white);
      max-width: 620px;
      /* was 540px – panel a bit wider */
      width: 92%;
      margin: 20px;
    }

    /* === Logo + title styles === */
    .auth-logo {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-bottom: 25px;
    }

    .auth-logo img {
      /* SMALLER SIZE so page fits better without scroll */
      height: 90px;
      /* was 120px */
      width: auto;
      filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
    }

    .auth-logo h1 {
      font-size: 32px;
      font-weight: 700;
      color: var(--yellow-accent);
      letter-spacing: 1px;
      margin: 0;
    }

    /* === END Logo styles === */

    /* Welcome heading */
    .auth-header h2 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 6px;
      color: var(--white);
    }

    .auth-header p {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.85);
      margin-bottom: 30px;
    }

    /* 5. Glass signup card (Adopting login's glass style) */
    .contact-panel {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      border-radius: 20px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
      padding: 40px 35px;
      color: var(--white);
      text-align: left;

      /* === mimic admin-signup scroll behavior === */
      max-height: 460px;
      /* fixed card height */
      display: flex;
      overflow: hidden;
      /* inner div handles scroll */
    }

    /* === inner scroll area, same idea as admin-auth-card-inner === */
    .contact-panel-inner {
      width: 100%;
      max-height: 100%;
      overflow-y: auto;
      overflow-x: hidden;
      /* HIDE bottom scrollbar, keep side one */
      padding-right: 4px;
      scrollbar-width: thin;
      scrollbar-color: var(--yellow-accent) var(--blue-dark);
    }

    .contact-panel-inner::-webkit-scrollbar {
      width: 8px;
    }

    .contact-panel-inner::-webkit-scrollbar-track {
      background: var(--blue-dark);
      border-radius: 999px;
    }

    .contact-panel-inner::-webkit-scrollbar-thumb {
      background: var(--yellow-accent);
      border-radius: 999px;
      border: 2px solid var(--blue-dark);
    }

    .contact-panel-inner::-webkit-scrollbar-thumb:hover {
      background: #ffe74a;
    }

    /* Retaining signup-specific styles for form content */
    .contact-panel__title {
      color: var(--white);
      font-size: 20px;
      margin: 0 0 6px 0;
      font-weight: 700;
    }

    .contact-panel__desc {
      color: rgba(255, 255, 255, 0.85);
      margin-bottom: 18px;
    }

    .form-group label {
      color: var(--white);
      font-weight: 600;
      display: block;
      margin-bottom: 6px;
      font-size: 14px;
    }

    .form-control {
      /* Retaining signup's size (48px height) and white background, but using login's text color */
      background: var(--white);
      border-radius: 10px;
      border: 1px solid rgba(0, 0, 0, 0.06);
      height: 48px;
      color: #0a1a3f;
      font-weight: 500;
      padding: 10px 12px;
      width: 100%;
      box-sizing: border-box;
    }

    .form-control::placeholder {
      color: #7c8590;
    }

    /* Back button style */
    .btn-back {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      width: 130px;
      padding: 8px 12px;
      background: rgba(255, 255, 255, 0.10);
      border: 1px solid rgba(255, 255, 255, 0.18);
      border-radius: 8px;
      font-size: 14px;
      font-weight: 700;
      color: var(--yellow-accent);
      cursor: pointer;
      transition: all 0.12s ease-out !important;
      /* margin-bottom removed as it's now absolutely positioned */
    }

    .btn-back:hover {
      border-color: var(--yellow-accent);
      box-shadow: 0 0 10px rgba(254, 224, 35, 0.45);
      transform: translateY(-2px);
    }

    /* === Positioning for Top-Left Corner === */
    .btn-back.top-left-fixed {
      position: absolute;
      top: 30px;
      left: 30px;
      margin-bottom: 0;
      z-index: 100;
    }

    /* Secondary link styles (yellow accent) */
    .contact-panel a {
      color: var(--yellow-accent);
      font-weight: 700;
    }

    .contact-panel a:hover {
      color: var(--green-accent);
      text-decoration: underline;
    }

    /* Small utility */
    .mb-20 {
      margin-bottom: 20px;
    }

    .mb-30 {
      margin-bottom: 30px;
    }

    .mt-20 {
      margin-top: 20px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .auth-container {
        max-width: 95%;
      }

      .contact-panel {
        padding: 30px 25px;
      }

      .auth-header h2 {
        font-size: 24px;
      }

      /* Mobile Positioning Adjustment */
      .btn-back.top-left-fixed {
        top: 15px;
        left: 15px;
      }

      /* Mobile logo size adjustment (smaller than before) */
      .auth-logo img {
        height: 60px;
        /* was 80px */
      }
    }

    /* === Login's Sparkle Base Style (Mouse Trail) === */
    .sparkle {
      position: absolute;
      background: radial-gradient(circle, var(--yellow-accent) 30%, rgba(255, 216, 77, 0.2) 80%);
      border-radius: 50%;
      pointer-events: none;
      filter: drop-shadow(0 0 6px var(--yellow-accent));
      opacity: 1;
      transform-origin: center;
      animation: sparkleFade 0.8s ease-out forwards;
      z-index: 9999;
    }

    @keyframes sparkleFade {
      0% {
        transform: scale(1);
        opacity: 1;
      }

      100% {
        transform: scale(0.3);
        opacity: 0;
      }
    }

    /* === Scattered Shine Stars Effect (Star Shape Version) === */
    .shine-stars {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      overflow: hidden;
      pointer-events: none;
      z-index: 3;
    }

    /* Star shape using clip-path (five-pointed star) */
    .shine-star {
      position: absolute;
      width: 12px;
      height: 12px;
      background: #f5e16e;
      clip-path: polygon(50% 0%,
          61% 35%,
          98% 35%,
          68% 57%,
          79% 91%,
          50% 70%,
          21% 91%,
          32% 57%,
          2% 35%,
          39% 35%);
      filter: drop-shadow(0 0 6px var(--yellow-accent));
      opacity: 0.9;
      animation: starBlink 4s ease-in-out infinite;
      transform-origin: center;
    }

    @keyframes starBlink {
      0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
      }

      40% {
        transform: scale(1.4) rotate(15deg);
        opacity: 0;
      }

      60% {
        transform: scale(0.8) rotate(-15deg);
        opacity: 0;
      }

      100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.9;
      }
    }


