/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Body Layout */
.signup-body {
  background: linear-gradient(to bottom right, #0f0f0f, #111827, #000);
  color: white;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Page Split Layout */
.signup-wrapper {
  display: flex;
  width: 100%;
  max-width: 1200px;
  height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid #3f3f46;
}

/* Left Side - Branding */
.branding {
  flex: 3;
  background: transparent;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(to bottom right, #0f0f0f, #111827);
}

.branding-title {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(to right, #f43f5e, #6366f1);
  background-clip: text;             
  -webkit-background-clip: text;     
  -webkit-text-fill-color: transparent;
  color: transparent;                
  margin-bottom: 1rem;
}

.branding-subtitle {
  font-size: 5rem;
  font-weight: 700;
  background: linear-gradient(to right, #f43f5e, #6366f1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.5rem;
}

/* Right Side - Form */
.signup-container {
  flex: 2;
  background: rgba(24, 24, 27, 0.75);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #3f3f46;
}

.form-heading {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #f43f5e, #6366f1);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Small subtitle below Create Account */
.form-subheading {
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

/* Form Styles */
form input {
  display: block;
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.2rem;
  border: none;
  border-radius: 0.75rem;
  background-color: #1f2937;
  color: white;
  font-size: 1rem;
}

form input::placeholder {
  color: #9ca3af;
}

form input:focus {
  outline: none;
  border: 2px solid #8b5cf6; 
  box-shadow: 0 0 10px #8b5cf6;
  transition: box-shadow 0.3s ease, border 0.3s ease;
}


form button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(to right, #f43f5e, #6366f1);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.3);
}

form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

.switch-link {
  margin-top: 1rem;
  color: #cbd5e1;
  text-align: center;
}

.switch-link a {
  color: #93c5fd;
  text-decoration: underline;
}

#message {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 900px) {
  .signup-wrapper {
    flex-direction: column;
    height: auto;
  }

  .branding,
  .signup-container {
    flex: none;
    width: 100%;
    padding: 2rem 1.5rem;
    border: none;
  }

  .branding-title {
    font-size: 3rem;
    text-align: center;
  }

  .branding-subtitle {
    font-size: 1.5rem;
    text-align: center;
  }
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
}

.logo {
  width: 200px;
  height: 200px;
  transform: translateY(10px); 
}

.password-wrapper {
  position: relative;
  width: 100%;
}

.password-wrapper input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  color: #aaa;
  font-size: 1.1rem;
}
