:root{
  --brand:#092B4D;
  --accent:#FFC000;
  --muted:#092B4D;
}

/* Base */
html,body{
  margin:0;
  padding:0;
  height:100%;
  font-family:'Inter',sans-serif;
  background:var(--brand);
  overflow-x:hidden;
  color:white;
}

/* ---- Topbar (same as login) ---- */
.topbar{
  position:fixed;
  top:0; left:0; right:0;
  height:64px;
  padding:0 20px;
  display:flex; align-items:center;
  z-index:100;
  background:linear-gradient(180deg,rgba(255,255,255,0.03),rgba(0,0,0,0.03));
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.brand-left{display:flex;align-items:center;}
.brand-logo{height:38px;}
.brand-text{font-weight:700;color:white;margin-left:10px;}
.accent{color:var(--accent);}

.right-links{
  margin-left:auto;
  display:flex;align-items:center;gap:14px;
}
.nav-link{color:white;text-decoration:none;}
.bell-btn{background:none;border:none;color:white;cursor:pointer;}

/* ---- FULLSCREEN AI BACKGROUND ---- */
#aiBackground{
  position:fixed;
  inset:0;


  height:100%;

  width:100%; 
  z-index:1;
  overflow:hidden;
  background: transparent !important; 


}


/*#aiBackground {
    position: fixed;
    top: 64px;              
    bottom: 48px;           
    left: 0;
    right: 0;

    width: 100%;
    height: calc(100vh - 64px - 48px);

    background: transparent !important;
    overflow: hidden;
    z-index: 1;
}*/









#leftArt{
  position:absolute;
  inset:0;
  z-index:1;
}

.svg-holder{
  position:absolute;
  inset:0;
  width:100%; height:100%;
  display:flex; align-items:flex-start; justify-content:center;
    opacity: 1;          
    z-index: 1;
    transform: scale(1.6);      /* increase size */

}


/* ---- CENTERED FORM ---- */
.signup-center{
  position:relative;
  z-index:20;

  display:flex;
  align-items:center;
  justify-content:center;

  height:100vh;
  padding:20px;
}


/* ---- GLASS FORM CARD ---- */
.signup-card.glass{
  width:100%;
  max-width:900px;
  
  background: rgba(255,255,255,0.07); /*background:rgba(9,43,77,0.45);*/
  border:1px solid rgba(255,255,255,0.08);

  backdrop-filter:blur(22px) saturate(170%);
  -webkit-backdrop-filter:blur(22px) saturate(170%);

  border-radius:20px;
  padding:40px;

  box-shadow:0 25px 60px rgba(0,0,0,0.45);
}

h2{margin:0;color:white;font-weight:700;}
.muted{color:var(--muted);margin-bottom:20px;}

/* ---- GRID ---- */
.grid-3x3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 30px;
    align-items: start;
}

.cell {
    display: flex;
    flex-direction: column;
    min-width: 0; /* prevents overflow */
}

label{color:white;font-weight:600;margin-bottom:6px;}
.req{color:#c62828;}

.form-control {
    padding: 8px 12px;
    height: 38px;                /* NEW smaller height */
    border-radius: 8px;          /* slightly tighter */
    font-size: 0.92rem;

    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.25);
    color: white;

    backdrop-filter: blur(10px);

        transition: all 0.25s ease;

}

.form-control:hover {
    border-color: rgba(255,192,0,0.6);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 0 8px rgba(255,255,255,0.25);
}

.form-control::placeholder{
  color:rgba(255,255,255,0.5);
}

/* Focus highlight effect */
.form-control.input-focus {
    background: rgba(255, 192, 0, 0.15) !important;
    border-color: #FFC000 !important;
    box-shadow: 0 0 10px rgba(255,192,0,0.45);
    transition: all 0.25s ease;
}

.pwd-wrap {
    position: relative;
    display: flex;
    align-items: center;      /* keeps icon aligned */
}

.pwd-wrap input {
    flex: 1;
}

.togglePwd {
    position: absolute;
    top: 50%;
    right: 10px;

    transform: translateY(-50%);
    border: none;
    background: none;

    padding: 0;
    margin: 0;

    cursor: pointer;
    outline: none;

    color: var(--accent);   /* subtle blend */
    font-size: 20px;
}

.togglePwd:focus {
    outline: none;
}

.togglePwd:hover {
    color: rgba(255,255,255,0.85);
}


/* Password checks */
.pwd-checklist {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.25;
    display: none;
/*    min-height: 82px;   /* FIX: preserves grid height even when hidden */
    height: auto;
}


.check-item{display:flex;align-items:center;gap:6px;color:rgba(9, 43, 77, 0.15);}
.check-item.valid{color:lightgreen;}
.check-item.invalid{color:#c62828;}

.signup-btn-cell {
    display: flex;
    align-items: center;   /* flex-end bottom alignment */
    justify-content: center;
}

.small {
    margin-top: 4px;
    font-size: 0.80rem;
    line-height: 1.2;
}

.grid-3x3 > .cell {
/*    min-height: 120px; /* ensures consistent vertical grid */
    align-self: stretch;
    height: auto;

}

/* FOOTER (same as login) */
.site-footer{
  height:48px;
  position:fixed;
  bottom:0; left:0; right:0;
  display:flex;justify-content:space-between;
  align-items:center;
  padding:0 20px;
  font-size:13px;
  background:transparent;
  border-top:1px solid rgba(255,255,255,0.08);
  z-index:100;
}

/* MOBILE */
@media(max-width:900px){
  .grid-3x3{
    grid-template-columns:1fr;
  }
  .svg-holder{display:none;} /* hide AI on mobile */
}


input:-webkit-autofill,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0) inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* MAIN BUTTON */



.btn-primary {
    height: 38px !important;        /* EXACT input height */
    min-height: 38px !important;    /* prevents collapsing */
    line-height: 38px !important;   /* stabilizes vertical alignment */
    padding: 8px 12px !important;     /* no vertical padding */
    border-radius: 8px;
    width: 100%;

    display: flex !important;       /* prevent shrink */
    align-items: center !important; /* center icon + text */
    justify-content: center !important;

    background: linear-gradient(135deg, #FFC000, #FFC000);
    color: #092B4D;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;

    box-shadow: 0 0 12px rgba(255,192,0,0.45);
    transition: all 0.25s ease;
}

.btn-primary i.material-icons {
    line-height: 1;
    margin-right: 6px;
}

/* HOVER STATE: Glow expands */
.btn-primary:hover {
    box-shadow: 0 0 18px rgba(255,192,0,0.6);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 0 10px rgba(255,192,0,0.4);
}

.btn-primary::before {
    content: "";
    position: absolute;
    left: -120%;
    top: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-20deg);
    transition: 0.45s;
}

.btn-primary:hover::before {
    left: 130%;
}

/* AI BREATHING ANIMATION */
@keyframes buttonPulse {
    0% { box-shadow: 0 0 12px rgba(255,192,0,0.4); }
    50% { box-shadow: 0 0 18px rgba(255,192,0,0.7); }
    100% { box-shadow: 0 0 12px rgba(255,192,0,0.4); }
}

.btn-primary {
    animation: buttonPulse 3s infinite ease-in-out;
}
