@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

/* Registration.css */

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

:root {
  --brand-blue: #ffffff; /* white banner */
}
/* Keep widths from overflowing when padding/border are added */
*, *::before, *::after {
  box-sizing: border-box;
}


/* Slim top bar (match Login) */
.auth-topbar{
  background: #fff;
  padding: 5px 0;
}

/* Align logo with the box */
.auth-topbar-inner{
  max-width: 700px;   /* must match .quote-form-container max-width */
  margin: 0 auto;
  padding: 0 20px;    /* matches page side padding */
  display: flex;
  align-items: center;
}

.auth-logo{
  height: 38px;
  width: auto;
  display: block;
}

/* --- Page layout --- */
#container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
}

/* --- Card / box --- */
.form-wrap {
  width: 100%;
  max-width: 700px;   /* match header inner */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 30px 40px;
  margin-top: 80px;
}

.form-wrap h1{
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.form-wrap p{
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 18px;
  text-align: center;
}

/* --- Form fields --- */
.form-group{
  text-align: left;
  margin-top: 14px;
}

.form-group label{
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input{
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 2px solid rgba(106,184,255,0.65);
  outline: none;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
}

.form-group input:focus{
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(106,184,255,0.25);
}

/* --- Button --- */
.form-wrap button{
  width: 100%;
  margin-top: 30px;
  padding: 10px;
  border: none;
  border-radius: 40px;
  background: #6AB8FF;
  color: #000000;
  font-weight: 700;
  cursor: pointer;
  font-size: 16px;
}

.form-wrap button:hover{
  filter: brightness(0.96);
}

/* --- Small text links --- */
.bottom-text{
  font-size: 12px;
  margin-top: 16px;
  line-height: 1.4;
  opacity: 0.85;
  text-align: center;
}

.bottom-text a{
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

.bottom-text a:hover{
  text-decoration: underline;
}

/* --- Footer under the box --- */
footer{
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  opacity: 0.85;
}

footer a{
  color: #111;
  font-weight: 700;
  text-decoration: none;
}

footer a:hover{
  text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 480px) {
  #container {
    padding: 30px 20px;
  }
  
  .wrapper {
    width: 100%;
    max-width: 420px;
    padding: 30px 30px;
    margin: 0 auto;
  }
  
  /* Fix password toggle position on mobile */
  .password-toggle {
    right: 45px !important;
    font-size: 17px !important;
  }
}

/* Desktop - ensure wrapper is centered with max-width */
@media (min-width: 481px) {
  .wrapper {
    max-width: 420px;
    margin: 0 auto !important;
    width: 420px;
  }
}
