/* layout & base */
html {
    width: 100%;
    height: 100%;
}

body {
    background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #020617 100%);
    position: relative;
    width: 100%;
    min-height: 100vh;
    font-size: 16px;
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    margin: 0;
}

/* login container */
#login-page {
    display: block;
    min-height: 100vh;
}

#loginform {
    display: block;
}
  .login_logo{
    width: 20vh;
    height: 20vh; 
    margin-left: 30px;
    margin-top: 20px;
  }
  
  form {
    position: absolute;
    max-height: 80vh; 
    overflow-y: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    max-width: 420px;
    background: radial-gradient(circle at top, rgba(30, 64, 175, 0.45), rgba(15, 23, 42, 0.95));
    margin: 0;
    padding: 2.75em 2.5em 2.5em;
    box-sizing: border-box;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-family: "Source Sans Pro", sans-serif;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.85);
    color: #f9fafb;
}
@media (max-width: 768px) {
    form {
        position: static;
        max-height: none;
        margin: 20px auto 32px auto;
        transform: none;
        padding: 2rem 1.5rem 1.75rem;
    }
    .login_logo{
        display: block;
        margin: auto auto 12px auto; /* top auto-centered, smaller bottom space */
        width: 14vh;
        height: 14vh;
    }
}
  form .svgContainer {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1em;
    border-radius: 50%;
    pointer-events: none;
  }
  form .svgContainer div {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    border-radius: 50%;
    padding-bottom: 100%;
  }
  form .svgContainer .mySVG {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }
  form .svgContainer:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: inherit;
    height: inherit;
    box-sizing: border-box;
    border: solid 2.5px #217093;
    border-radius: 50%;
  }
  form .inputGroup {
    margin: 0 0 2em;
    padding: 0;
    position: relative;
  }
  form .inputGroup:last-of-type {
    margin-bottom: 0;
  }
  form label {
    margin: 0 0 10px;
    display: block;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #e5e7eb;
    font-weight: 600;
    font-family: inherit;
  }
  form input[type=email], form input[type=text], form input[type=number], form input[type=url], form input[type=search], form input[type=password] {
    display: block;
    margin: 0;
    padding: 0.55em 0.85em;
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.6);
    border-radius: 0.65rem;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: 42px;
    font-size: 0.98em;
    color: #e5e7eb;
    font-weight: 400;
    font-family: inherit;
    transition: box-shadow 0.2s linear, border-color 0.25s ease-out;
  }
  form input[type=email]:focus, form input[type=text]:focus, form input[type=number]:focus, form input[type=url]:focus, form input[type=search]:focus, form input[type=password]:focus {
    outline: none;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 0 0 4px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.9);
  }
  form button {
    display: block;
    margin: 0;
    padding: 0.75em 1em 1em;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    border: none;
    border-radius: 999px;
    box-sizing: border-box;
    box-shadow: none;
    width: 100%;
    height: 56px;
    font-size: 1.1em;
    color: #FFF;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: background 0.18s ease-out, transform 0.1s ease-out, box-shadow 0.18s ease-out;
  }
  form button:hover, form button:active {
    background: linear-gradient(135deg, #4338ca, #0284c7);
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.75);
  }
  form .inputGroup1 .helper {
    position: absolute;
    z-index: 1;
    font-family: inherit;
  }
  form .inputGroup1 .helper1 {
    top: 0;
    left: 0;
    transform: translate(1em, 2.2em) scale(1);
    transform-origin: 0 0;
    color: #217093;
    font-size: 1.55em;
    font-weight: 200;
    opacity: 0.65;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s linear;
  }
  form .inputGroup1.focusWithText .helper {
    transform: translate(1em, 1.55em) scale(0.6);
    opacity: 1;
  }
  form .inputGroup2 #showPasswordToggle {
    display: block;
    padding: 0 0 0 1.45em;
    position: absolute;
    top: 0.25em;
    right: 0;
    font-size: 1em;
  }
  form .inputGroup2 #showPasswordToggle input {
    position: absolute;
    z-index: -1;
    opacity: 0;
  }
  form .inputGroup2 #showPasswordToggle .indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 0.85em;
    width: 0.85em;
    background-color: transparent;
    border: solid 2px rgba(148, 163, 184, 0.8);
    border-radius: 3px;
  }
  form .inputGroup2 #showPasswordToggle .indicator:after {
    content: "";
    position: absolute;
    left: 0.25em;
    top: 0.025em;
    width: 0.2em;
    height: 0.5em;
    border: solid #60a5fa;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    visibility: hidden;
  }
  form .inputGroup2 #showPasswordToggle input:checked ~ .indicator:after {
    visibility: visible;
  }
  form .inputGroup2 #showPasswordToggle input:focus ~ .indicator, form .inputGroup2 #showPasswordToggle input:hover ~ .indicator {
    border-color: #60a5fa;
  }
  form .inputGroup2 #showPasswordToggle input:disabled ~ .indicator {
    opacity: 0.5;
  }
  form .inputGroup2 #showPasswordToggle input:disabled ~ .indicator:after {
    visibility: hidden;
  }
  #particles-js {
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 0;
    top: 0;
    left: 0;
}
/* Footer styles */
.page-footer {
    width: 100%;
    background: rgba(30, 30, 30, 0.85);
    color: #fff;
    text-align: center;
    padding: 18px 0 10px 0;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 10;
    font-size: 1rem;
}

/* Small-height devices (e.g., iPhone SE 375x667) */
@media (max-height: 700px) {
  body {
    padding-bottom: 80px; /* space so content not hidden behind footer */
  }

  form {
    max-height: none;
  }

  .page-footer {
    position: static; /* allow full page scroll on short screens */
  }
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-subtext {
    margin: 5px;
    font-size: 0.95em;
    color: #b0b0b0;
}
/* Header Section */
.header-section {
  text-align: center;
  margin-bottom: 20px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 24px;
}

.logo-container {
  width: 40px;
  height: 40px;
  margin: 0 auto 24px;
}

/* .logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.04))
    drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
} */

 .title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  color: #f9fafb;
  margin-bottom: 4px;
}

 .subtitle {
  font-size: 0.95rem;
  line-height: 1.5rem;
  color: #e5e7eb;
}
/* Help Text */
.help-text {
  margin-top: 5px;
  text-align: center;
}

.help-text p {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.85);
}

@media (max-width: 640px) {
  .help-text p {
    color: rgba(248, 250, 252, 1);
  }
}