/* General Styles */
body, html {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  padding-top: 50px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Scroll to Top Button */
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #2c3e50;
  color: white;
  cursor: pointer;
  padding: 12px 15px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#myBtn:hover {
  background-color: #1a252f;
  transform: translateY(-3px);
}

/* Signup Container */
.signup-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 50px);
  padding: 20px;
}

.signup-wrapper {
  display: flex;
  width: 100%;
  max-width: 1000px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Left Panel */
.signup-left-panel {
  flex: 1;
  background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-welcome h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.brand-name {
  color: #ffd700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.brand-welcome p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.features-list {
  margin-top: 30px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.feature-item i {
  font-size: 1.2rem;
  margin-right: 15px;
  color: #ffd700;
  width: 25px;
}

.feature-item span {
  font-size: 1rem;
}

/* Right Panel */
.signup-right-panel {
  flex: 1;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signup-form-container {
  width: 100%;
  max-width: 400px;
}

.signup-header {
  text-align: center;
  margin-bottom: 30px;
}

.signup-header h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.signup-header p {
  color: #7f8c8d;
  font-size: 1rem;
}

/* Form Styles */
.signup-form {
  width: 100%;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 500;
}

.text-danger {
  color: #e74c3c;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.input-group-addon {
  background: #f8f9fa;
  padding: 10px 15px;
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 6px 0 0 6px;
  color: #2c3e50;
  min-width: 45px;
  text-align: center;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ced4da;
  border-radius: 0 6px 6px 0;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #4ca1af;
  box-shadow: 0 0 0 3px rgba(76, 161, 175, 0.2);
}

/* Button Styles */
.btn-signup {
  width: 100%;
  background: linear-gradient(to right, #2c3e50, #4ca1af);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-signup:hover {
  background: linear-gradient(to right, #1a252f, #3a8694);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(76, 161, 175, 0.3);
}

.button-text {
  flex-grow: 1;
  text-align: center;
}

/* Links and Additional Options */
.signup-links {
  text-align: center;
  margin-top: 20px;
}

.signup-links p {
  color: #7f8c8d;
  font-size: 0.9rem;
}

.signup-links a {
  color: #4ca1af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.signup-links a:hover {
  color: #2c3e50;
  text-decoration: underline;
}

.error-message {
  display: block;
  text-align: center;
  color: #e74c3c;
  margin-bottom: 20px;
  font-weight: 500;
}

/* Footer Styles */
.bg-4 {
  background-color: #2f2f2f;
  color: #ffffff;
}

footer {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .signup-wrapper {
    flex-direction: column;
    max-width: 400px;
  }

  .signup-left-panel {
    display: none; /* Hide the left panel on mobile for simplicity */
  }

  .signup-right-panel {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .signup-container {
    padding: 10px;
  }

  .signup-right-panel {
    padding: 20px 15px;
  }

  .signup-header h2 {
    font-size: 1.8rem;
  }
}