:root {
  --primary-purple: #4200FF;
  --secondary-purple: #a29bfe;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

.signup-container {
  min-height: 100vh;
  background: white;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.left-panel {
  background: #0d6efd;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.left-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
}

.hospital-logo {
  font-size: 1.5rem;
  font-weight: bold;
  z-index: 2;
  position: center;
  text-align: center;
  padding-left: 3px;
  margin-top: 1px;
}

.doctors-image {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 2rem;
}

.doctors-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.right-panel {
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-form {
  width: 100%;
  max-width: 400px;
}

.form-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 2rem;
}

.form-label {
  font-weight: 500;
  color: #636e72;
  margin-bottom: 0.5rem;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-purple);
  box-shadow: 0 0 0 0.2rem rgba(108, 92, 231, 0.25);
}

.form-control::placeholder {
  color: #b2bec3;
}

.btn-signup {
  background: var(--primary-purple);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.btn-signup:hover {
  background: #5f4fcf;
  transform: translateY(-1px);
}

.terms-checkbox {
  margin-right: 0.5rem;
}

.terms-text {
  font-size: 0.9rem;
  color: #636e72;
}

.terms-link {
  color: var(--primary-purple);
  text-decoration: none;
}

.terms-link:hover {
  text-decoration: underline;
}

.reset-link {
  text-align: end;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 0.9rem;
  color: #636e72;
}

.reset-link a {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

.reset-link a:hover {
  text-decoration: underline;
}

.login-link {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 0.9rem;
  color: #636e72;
}

.login-link a {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

.login-link a:hover {
  text-decoration: underline;
}

/* Mobile Responsive Design - Multiple Breakpoints */

/* Small phones (up to 480px) */
@media (max-width: 480px) {
  .left-panel {
    min-height: 250px;
    padding: 1rem 0.75rem;
  }

  .right-panel {
    padding: 1.5rem 1rem;
  }

  .signup-form {
    max-width: 100%;
  }

  .form-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .form-control {
    padding: 0.875rem 1rem;
    font-size: 1rem; /* Prevents zoom on iOS */
    margin-bottom: 1rem;
  }

  .btn-signup {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
    margin-top: 0.5rem;
  }

  .hospital-logo img {
    width: 150px;
  }

  .doctors-image {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .doctors-image img {
    max-width: 80%;
  }

  .doctors-image p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.75rem;
  }

  .reset-link {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .login-link {
    margin-top: 1rem;
  }
}

/* Large phones and small tablets (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .left-panel {
    min-height: 300px;
    padding: 1.5rem 1rem;
  }

  .right-panel {
    padding: 2rem 1.5rem;
  }

  .form-title {
    font-size: 1.6rem;
    margin-bottom: 1.75rem;
  }

  .form-control {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
  }

  .btn-signup {
    padding: 0.8rem 2rem;
    font-size: 1rem;
  }

  .hospital-logo img {
    width: 180px;
  }

  .doctors-image {
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .doctors-image img {
    max-width: 90%;
  }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .left-panel {
    min-height: 350px;
    padding: 2rem 1.5rem;
  }

  .right-panel {
    padding: 2.5rem 2rem;
  }

  .form-title {
    font-size: 1.7rem;
  }

  .hospital-logo img {
    width: 200px;
  }
}

/* Large tablets and small desktops (1025px to 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .right-panel {
    padding: 3rem 2.5rem;
  }
}
