/* ================= GLOBAL ================= */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Poppins', sans-serif;
  background: linear-gradient(135deg,#4f46e5,#3b82f6);
  min-height:100vh;
}

/* ================= HEADER ================= */
.header{
  background: rgba(29,78,216,0.95);
  color:white;
  padding:14px 20px;
  position:sticky;
  top:0;
  z-index:1000;

  /* FIX ADDED */
  display:flex;
  justify-content:space-between;
  align-items:center;
}

/* OLD (unchanged) */
.header-inner{
  max-width:1100px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

/* ================= LOGO FIX ================= */
.logo-box{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo-box img{
  width:45px;
  height:45px;
  border-radius:50%;
  object-fit:cover;
  box-shadow:0 5px 15px rgba(0,0,0,0.3);
  transition:0.3s;
}

.logo-box img:hover{
  transform:scale(1.1);
}

.logo-box h1{
  font-size:20px;
  font-weight:bold;
  white-space:nowrap;
  transition:0.3s;
}

.logo-box h1:hover{
  color:#facc15;
  transform:scale(1.05);
}

/* ================= BUTTONS ================= */
.nav-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.back-btn,
.login-link{
  padding:8px 14px;
  border-radius:10px;
  text-decoration:none;
  font-size:14px;
  transition:0.3s;
}

.back-btn{
  background:white;
  color:#1d4ed8;
}

.back-btn:hover{
  background:#facc15;
  transform:scale(1.05);
}

.login-link{
  border:1px solid white;
  color:white;
}

.login-link:hover{
  background:white;
  color:#1d4ed8;
}

/* ================= WRAPPER ================= */
.signup-wrapper{
  display:flex;
  justify-content:center;
  align-items:flex-start;
  padding:40px 15px;
}

/* ================= CARD ================= */
.signup-card{
  width:100%;
  max-width:420px;
  background:white;
  padding:30px;
  border-radius:15px;
  margin-top:40px;
  box-shadow:0 15px 40px rgba(0,0,0,0.2);
  display:flex;
  flex-direction:column;
  gap:14px;
  transition:0.3s;
}

.signup-card:hover{
  transform:translateY(-6px);
}

/* ================= TEXT ================= */
.logo{
  text-align:center;
  font-weight:bold;
  font-size:20px;
}

.title{
  text-align:center;
  color:gray;
  font-size:14px;
}

/* ================= INPUT ================= */
input{
  width:100%;
  padding:12px;
  border-radius:10px;
  border:1px solid #ccc;
  transition:0.3s;
}

input:focus{
  border-color:#2563eb;
  box-shadow:0 0 10px rgba(37,99,235,0.3);
  transform:scale(1.02);
}

/* ================= TERMS ================= */
.terms{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
}

.terms input{
  width:16px;
  height:16px;
  cursor:pointer;
}

/* ================= BUTTON ================= */
.signup-btn{
  width:100%;
  padding:12px;
  border:none;
  border-radius:10px;
  background:#2563eb;
  color:white;
  cursor:pointer;
  transition:0.3s;
}

.signup-btn:hover{
  background:#1d4ed8;
  transform:scale(1.05);
}

/* ================= FOOT TEXT ================= */
.bottom-text{
  text-align:center;
  font-size:13px;
}

.bottom-text a{
  color:#2563eb;
  text-decoration:none;
}

.bottom-text a:hover{
  color:#facc15;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

  .header{
    flex-direction:column;
    align-items:center;
    gap:10px;
    text-align:center;
  }

  .logo-box{
    justify-content:center;
  }

  .nav-actions{
    justify-content:center;
  }

  .signup-wrapper{
    padding:20px 10px;
  }

  .signup-card{
    margin-top:25px;
  }
}

@media(max-width:480px){

  .signup-card{
    padding:22px;
  }

  .terms{
    flex-direction:row;
  }

  .nav-actions{
    justify-content:center;
  }

  .logo-box img{
    width:38px;
    height:38px;
  }

  .logo-box h1{
    font-size:16px;
  }

  .header{
    padding:10px;
  }
}