@import url("./base.css");

html, body {
    margin: 0;
    height: 100%;
    overflow: hidden;
    color: #fff;
    font-family: "figtree", sans-serif;
  }
  
  /* BACKGROUND */
  body {
    background: url("../images/nmw-login-bg.jpg") center/cover no-repeat;
  }
  
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(5, 15, 35, 0.45);
  }
  

  


  .glass-panel {
    position: relative;
    width: 50vw;
    height: 100vh;
  
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  
    background: linear-gradient(
      180deg,
      rgba(10, 20, 40, 0.65),
      rgba(5, 10, 25, 0.65)
    );
    border-right: 1px solid rgba(0, 212, 255, 0.2);
    clip-path: ellipse(100% 90% at 0% 50%);
    padding: 40px 100px;
  
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* key fix */
    box-sizing: border-box;

  } 

  .glass-panel::after {
  
  }
  
  /* TOP */
  .top {
    position: relative;
  }
  
  .logo {
    font-size: 30px;
    font-weight: 600;
  }
  
  /* CENTER FORM */
  .login-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  h1 {
    font-size: 34px;
    margin-bottom: 30px;
  }
  
  
  /* ACTION ROW */
  .action-row {
    max-width: 576px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  
  .btn-login {
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    max-width: 168px;
    border: none;
    background: linear-gradient(90deg, #00d4ff, #009ecf);
    color: #fff;
    cursor: pointer;
  }
  
  .forgot {
    font-size: 18px;
    color: #00d4ff;
    text-decoration: none;
  }
  
  .signup {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 40px;
  }
  
  /* SMALL SIGNUP BUTTON */
  .btn-outline {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1px solid #00d4ff;
    color: #00d4ff;
    text-decoration: none;
    font-size: 13px;
    max-width: 96px;
    text-align: center;
  }

  .info {
    font-size: 18px;
    font-weight: 400;
  }
  
  /* RESPONSIVE */
  @media (max-width: 1023px) {
  
  html, body {
    overflow: auto;
  }
  
  /* PANEL becomes full screen */
  .glass-panel {
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 40px 24px;
  
    backdrop-filter: blur(0px);

    background: linear-gradient(
      180deg,
      rgba(10, 20, 40, 0),
      rgba(5, 10, 25, 0)
    );
  
    align-items: center;
    text-align: center;
    clip-path: none;
  }
  
  /* TOP */
  .top {
    align-items: center;
    text-align: center;
  }
  
  .logo {
    font-size: 26px;
  }
  
  .tagline {
    font-size: 12px;
    margin-top: 6px;
  }
  
  /* CENTER CONTENT */
  .center {
    width: 100%;
    align-items: center;
  }
  
  h1 {
    font-size: 24px;
    margin: 30px 0;
  }
  
  /* FORM */
  .form-group {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    text-align: left;
  }
  
  label {
    font-size: 12px;
  }
  
  input {
    width: -webkit-fill-available;
    height: 55px;
    border-radius: 12px;
  
    /* stronger glow like mockup */
    border: 1px solid #00d4ff;
    background: rgba(5, 15, 35, 0.6);
  }
  
  input:focus {
    box-shadow: 0 0 14px rgba(0, 212, 255, 0.9);
  }
  
  /* ACTION STACKED */
  .action-row {
    flex-direction: column;
    gap: 14px;
    align-items: self-start !important;
    width: 100%;
  }
  
  .btn-login {
    width: 160px;
    height: 46px;
    font-size: 14px;
  }
  
  .forgot {
    font-size: 13px;
  }
  
  /* SIGNUP BUTTON (centered & slightly bigger) */
  .btn-outline {
    padding: 10px 26px;
    font-size: 14px;
  }
  
  /* FOOTER CENTER */
  .footer {
    text-align: center;
    width: 100%;
  }
  
  .footer a {
    margin: 0 10px;
  }
  }

  .glass-panel .alert {
    padding: 8px 12px;
    font-size: 16px;
    line-height: 1.5;
    height: auto;
  }