/* colors */
html {
    width: 100%;
    height: 100%;
  }
  
  body {
    background-color: #eff3f4;
    position: relative;
    width: 100%;
    height: 100vh; 
    font-size: 16px;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.01em;
  }
  #intro-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Makes video cover the screen */
}

#login-page {
    display: block;
    height: 100vh;
    min-height: 100vh;
    position: relative;
}

/* Background image with opacity */
#login-page::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Building.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.5;
    z-index: -2;
}

/* Overlay */
#login-page::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 110, 201, 0.15);
    z-index: -1;
}

#loginform {
    display: block;
    position: relative;
    z-index: 1;
}
  .login-container {
    position: relative;
    height: 100vh;
    width: 100%;
  }
  
  .logo-container {
    text-align: center;
    margin-bottom: 20px;
  }
  
  .login_logo{
    width: 140px;
    height: auto; 
    margin: 0 auto 30px;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .login_logo:hover {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  }
  
  .title-glass-container {
    background: rgba(129, 174, 224, 0.2);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: solid 1.5px rgba(255, 255, 255, 0.35);
    border-radius: 1.2em;
    padding: 1.5em 2em;
    margin: 0 auto 2em;
    max-width: 380px;
    box-shadow: 0 8px 32px 0 rgba(33, 40, 146, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  
  .title-glass-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.2em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    pointer-events: none;
    z-index: 0;
  }
  
  .title-glass-container:hover {
    box-shadow: 0 12px 40px 0 rgba(33, 40, 146, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transform: translateY(-2px);
  }
  
  .title-image-wrapper {
    text-align: center;
    margin-bottom: 0.75em;
    position: relative;
    z-index: 1;
  }
  
  .title-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
  }
  
  .title-glass-container:hover .title-icon {
    transform: scale(1.1) rotate(5deg);
  }
  
  .login-title {
    text-align: center;
    font-family:   'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 600;
    color: #3b8de4;
    margin: 0;
    padding: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(253, 253, 253, 0.6);
    position: relative;
    z-index: 1;

    margin-top: 10px;
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
  }
  
  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: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 2.5em 2.75em;
    box-sizing: border-box;
    border: solid 1.5px rgba(255, 255, 255, 0.35);
    border-radius: 1.5em;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    box-shadow: 0 12px 40px 0 rgba(33, 40, 146, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    z-index: 1;
    transition: all 0.3s ease;
  }
  
  form:hover {
    box-shadow: 0 16px 48px 0 rgba(33, 40, 146, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transform: translate(-50%, -50%) scale(1.01);
  }
  
  /* Glass effect overlay on form */
  form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1em;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
    z-index: -1;
  }
  @media (max-width: 768px) {
    form {
        max-height: 90vh; 
    }
}
  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 1.75em;
    padding: 0;
    position: relative;
  }
  form .inputGroup:last-of-type {
    margin-bottom: 0;
    margin-top: 1.5em;
  }
  
  /* HR Styling */
  form .hr-login {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      rgba(115, 169, 226, 0.4) 20%, 
      rgba(100, 162, 228, 0.6) 50%, 
      rgba(109, 164, 223, 0.4) 80%, 
      transparent 100%);
    margin: 0.5em 0;
    position: relative;
    overflow: visible;
  }
  
  form .hr-login::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(59, 141, 228, 0.8);
    border-radius: 2px;
  }
  form label {
    margin: 0 0 10px;
    display: block;
    font-size: 0.95em;
    color: #1a5490;
    font-weight: 600;
    font-family: inherit;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-size: 0.75em;
  }
  form select {
    display: block;
    margin: 0;
    padding:0.4em;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: solid 1px rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: 24;
    font-size: 1.00em;
    color: #353538;
    font-weight: 400;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  form select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(78, 184, 221, 0.3);
    border: solid 1px rgba(78, 184, 221, 0.6);
    transform: translateY(-2px);
  }
  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.85em 1em;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: solid 1.5px rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 48px;
    font-size: 1em;
    color: #2c3e50;
    font-weight: 500;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 0.2px;
  }
  
  form input[type=email]::placeholder, form input[type=text]::placeholder, form input[type=number]::placeholder, form input[type=url]::placeholder, form input[type=search]::placeholder, form input[type=password]::placeholder {
    color: rgba(44, 62, 80, 0.5);
    font-weight: 400;
  }
  
  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;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 6px 20px rgba(78, 184, 221, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border: solid 1.5px rgba(78, 184, 221, 0.7);
    transform: translateY(-1px);
  }
  form button {
    display: block;
    margin: 0;
    padding: 0.95em 1.5em;
    background: linear-gradient(135deg, rgba(99, 136, 185, 0.95), rgba(21, 122, 223, 0.95));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: solid 1.5px rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 6px 20px rgba(69, 128, 218, 0.45), inset 0 1px 0 rgba(48, 121, 216, 0.3);
    width: 100%;
    min-height: 56px;
    font-size: 1.1em;
    color: #FFF;
    font-weight: 600;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    text-transform: uppercase;  
    cursor: pointer;
  }
  form button:hover {
    background: linear-gradient(135deg, rgb(41, 146, 216), rgba(68, 164, 205, 1));
    box-shadow: 0 8px 25px rgba(63, 113, 204, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
  }
  form button:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(78, 184, 221, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  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: 400;
    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 input[type=password] {
    /* padding: 0.4em 1em 0.5em; */
  }
  form .inputGroup2 input[type=text] {
    /* padding: 0.025em 1em 0; */
  }
  form .inputGroup2 #showPasswordToggle {
    display: block;
    padding: 0 0 0 1.45em;
    position: absolute;
    top: 0.25em;
    right: 0;
    font-size: 0.8em;
    margin-bottom: 10px;
  }
  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: #f3fafd;
    border: solid 2px #217093;
    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 #217093;
    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: #4eb8dd;
  }
  form .inputGroup2 #showPasswordToggle input:disabled ~ .indicator {
    opacity: 0.5;
  }
  form .inputGroup2 #showPasswordToggle input:disabled ~ .indicator:after {
    visibility: hidden;
  }
  
  /* Glass effect for alert boxes */
  form .alert {
    background: rgba(220, 53, 69, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: solid 1.5px rgba(220, 53, 69, 0.5);
    border-radius: 12px;
    color: #721c24;
    padding: 1em 1.25em;
    margin-bottom: 1.5em;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.2px;
  }
  
  form .alert p {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
  }


  
  .snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
  }
  
  .snowflakes span {
    position: absolute;
    top: -10%;
    color: white;
    opacity: 0.9;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  
  /* Quantity + Speed + Size */
  .snowflakes span:nth-child(1)  { left: 2%;  font-size: 1em; animation-duration: 5s; }
  .snowflakes span:nth-child(2)  { left: 6%;  font-size: 1.5em; animation-duration: 6s; }
  .snowflakes span:nth-child(3)  { left: 10%; font-size: 2em; animation-duration: 4s; }
  .snowflakes span:nth-child(4)  { left: 14%; font-size: 1.2em; animation-duration: 7s; }
  .snowflakes span:nth-child(5)  { left: 18%; font-size: 1.8em; animation-duration: 5s; }
  .snowflakes span:nth-child(6)  { left: 22%; font-size: 1.4em; animation-duration: 6s; }
  .snowflakes span:nth-child(7)  { left: 26%; font-size: 1em; animation-duration: 4.5s; }
  .snowflakes span:nth-child(8)  { left: 30%; font-size: 2.2em; animation-duration: 7s; }
  .snowflakes span:nth-child(9)  { left: 34%; font-size: 1.3em; animation-duration: 5.5s; }
  .snowflakes span:nth-child(10) { left: 38%; font-size: 1.7em; animation-duration: 6.5s; }
  .snowflakes span:nth-child(11) { left: 42%; font-size: 2em; animation-duration: 4.8s; }
  .snowflakes span:nth-child(12) { left: 46%; font-size: 1.1em; animation-duration: 7.5s; }
  .snowflakes span:nth-child(13) { left: 50%; font-size: 1.9em; animation-duration: 5s; }
  .snowflakes span:nth-child(14) { left: 54%; font-size: 1.3em; animation-duration: 6s; }
  .snowflakes span:nth-child(15) { left: 58%; font-size: 2.1em; animation-duration: 4s; }
  .snowflakes span:nth-child(16) { left: 62%; font-size: 1.6em; animation-duration: 7s; }
  .snowflakes span:nth-child(17) { left: 66%; font-size: 1em; animation-duration: 5.5s; }
  .snowflakes span:nth-child(18) { left: 70%; font-size: 2em; animation-duration: 6.8s; }
  .snowflakes span:nth-child(19) { left: 74%; font-size: 1.2em; animation-duration: 4.2s; }
  .snowflakes span:nth-child(20) { left: 78%; font-size: 1.8em; animation-duration: 7.2s; }
  .snowflakes span:nth-child(21) { left: 82%; font-size: 2.2em; animation-duration: 5s; }
  .snowflakes span:nth-child(22) { left: 86%; font-size: 1.4em; animation-duration: 6s; }
  .snowflakes span:nth-child(23) { left: 90%; font-size: 1em; animation-duration: 4.5s; }
  .snowflakes span:nth-child(24) { left: 94%; font-size: 1.7em; animation-duration: 6.5s; }
  
  @keyframes fall {
    0% {
      transform: translateY(-10vh) translateX(0) rotate(0deg);
    }
    100% {
      transform: translateY(110vh) translateX(40px) rotate(360deg);
    }
  }
  