/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* ===== HERO BACKGROUND ===== */
.signup-hero {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

/* ===== CARD WRAPPER ===== */
.signup-wrapper {
  width: 100%;
  max-width: 460px;
}

/* ===== CARD ===== */
.signup-card {
  background: #fff;
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.8s ease;
  transition: transform 0.3s, box-shadow 0.3s;
}

.signup-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* ===== ICON ===== */
.icon-circle {
  background: #2563eb;
  width: 65px;
  height: 65px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* ===== HEADINGS ===== */
h2 {
  margin-bottom: 5px;
  font-size: 26px;
  color: #222;
}

p {
  margin-bottom: 22px;
  color: #666;
  line-height: 1.4;
}

/* ===== ROLE SELECTION ===== */
.role-selection {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.role-btn {
  flex: 1 1 48%;
  background: #f1f3f5;
  border-radius: 12px;
  padding: 14px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s;
  color: #333;
  text-align: left;
  border: 2px solid transparent;
}

.role-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.role-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.role-icon {
  font-size: 28px;
  margin-right: 10px;
}

/* ===== FORM ===== */
form input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1.5px solid #ddd;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 15px;
}

form input:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.4);
}

.name-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.name-group input {
  flex: 1 1 48%;
  min-width: 100px;
}

/* ===== OWNER FIELDS ===== */
#ownerFields {
  display: none;
  flex-direction: column;
  gap: 10px;
}

#ownerFields input {
  width: 100%;
}

/* ===== TERMS ===== */
.terms {
  display: flex;
  align-items: center;
  margin: 12px 0 18px;
  font-size: 14px;
  color: #555;
}

.terms input[type="checkbox"] {
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

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

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

/* ===== SUBMIT BUTTON ===== */
.btn-submit {
  width: 100%;
  padding: 13px;
  margin-top: 18px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn-submit:hover {
  background: #1e40af;
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

/* ===== SOCIAL LOGIN ===== */
.social-login p {
  margin: 18px 0 10px;
  color: #555;
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.social-buttons button {
  flex: 1 1 48%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-buttons button i {
  margin-right: 8px;
  font-size: 16px;
}

.google-login {
  background: #4285F4;
  color: #fff;
}

.google-login:hover {
  background: #357ae8;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.facebook-login {
  background: #3b5998;
  color: #fff;
}

.facebook-login:hover {
  background: #2d4373;
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* ===== LOGIN LINK ===== */
.login-link {
  margin-top: 18px;
  font-size: 14px;
}

.login-link a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* ===== ANIMATION ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
  .signup-hero {
    padding: 30px 15px;
    min-height: auto;
  }

  .signup-wrapper {
    max-width: 100%;
  }

  .signup-card {
    padding: 30px 25px;
  }

  h2 {
    font-size: 22px;
  }

  .role-btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
    padding: 12px;
  }
}

@media(max-width: 480px) {
  .signup-hero {
    padding: 20px 10px;
  }

  .signup-card {
    padding: 25px 20px;
  }

  .icon-circle {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  h2 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }

  .name-group {
    flex-direction: column;
  }

  .role-btn {
    flex: 1 1 100%;
    justify-content: center;
    text-align: center;
  }

  .role-icon {
    margin-right: 0;
    margin-bottom: 4px;
  }

  form input {
    padding: 11px 13px;
    font-size: 14px;
  }

  .btn-submit {
    font-size: 16px;
    padding: 12px;
  }

  .social-buttons {
    flex-direction: column;
    gap: 8px;
  }

  .social-buttons button {
    flex: 1 1 100%;
  }
}
/* Password wrapper ke andar eye icon */
.password-wrapper { position: relative; }
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: #555;
} 