/* Signup Page Styles - Updated Version */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #000000;
  color: #ffffff;
  min-height: 100vh;
}

.signup-container {
  display: flex;
  min-height: 100vh;
}

/* Left Panel - Features */
.features-panel {
  width: 340px;
  background: #ffffff;
  padding: 48px 32px;
  border-right: 1px solid #e8ecef;
  position: fixed;
  height: 100vh;
  overflow-y: auto;
  border-radius: 25px 25px 25px 25px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 48px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #333333;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
}

.features-section h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1a1a1a;
}

.feature-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #333333;
}

.feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a1a1a;
}

.feature-content p {
  font-size: 14px;
  color: #333333;
  line-height: 1.5;
}

/* Right Panel - Signup Form */
.form-panel {
  flex: 1;
  margin-left: 340px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
  min-height: 100vh;
}

.signup-card {
  background: #1a1a1a;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5), 0 10px 20px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 540px;
}

.signup-header {
  text-align: center;
  margin-bottom: 40px;
}

.signup-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.signup-header p {
  font-size: 15px;
  color: #999999;
  line-height: 1.6;
}

.form-section {
  margin-bottom: 32px;
}

.section-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  padding-bottom: 12px;
  border-bottom: 1px solid #333333;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  padding-left: 44px;
  border: 1px solid #444444;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.2s ease;
  background: #262626;
  color: #ffffff;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #666666;
  font-size: 18px;
  pointer-events: none;
}

.form-group input::placeholder {
  color: #666666;
}

.form-group input:focus {
  outline: none;
  border-color: #48E5C2;
  background: #333333;
  box-shadow: 0 0 0 3px rgba(72, 229, 194, 0.1);
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 12px;
}

.strength-bar {
  width: 100%;
  height: 4px;
  background: #444444;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 12px;
}

.strength-fill {
  height: 100%;
  background: linear-gradient(to right, #48E5C2, #3dd4b1);
  transition: width 0.3s ease;
  width: 60%;
}

.password-requirements {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #999999;
}

.requirement-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid #555555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
}

.requirement.met {
  color: #48E5C2;
}

.requirement.met .requirement-icon {
  border-color: #48E5C2;
  background: #48E5C2;
  color: white;
}

.requirement.met .requirement-icon::before {
  content: '✓';
}

/* Register Button */
.register-button {
  width: 100%;
  padding: 15px;
  background: #48E5C2;
  color: #000000;
  border: 2px solid #48E5C2;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 24px;
  letter-spacing: 0.3px;
}

.register-button:hover {
  background: #3dd4b1;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(72, 229, 194, 0.3);
}

.register-button:active {
  transform: translateY(0);
}

.login-link {
  text-align: center;
  margin-top: 24px;
  font-size: 15px;
  color: #999999;
}

.login-link a {
  color: #48E5C2;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.login-link a:hover {
  color: #3dd4b1;
  text-decoration: underline;
}

/* Error Message */
.error-message {
  background: #ffe8e8;
  color: #d32f2f;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 4px solid #d32f2f;
  display: flex;
  align-items: center;
  gap: 8px;
}

.error-message::before {
  content: '⚠️';
  font-size: 16px;
}

/* Success Message */
.success-message {
  background: #e8f7f5;
  color: #00897b;
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  border-left: 4px solid #48E5C2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-message::before {
  content: '✓';
  font-size: 16px;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-panel {
    position: relative;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #e8ecef;
  }

  .form-panel {
    margin-left: 0;
    padding: 32px 24px;
  }

  .signup-container {
    flex-direction: column;
  }

  .features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
  }

  .features-section h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .features-panel {
    padding: 32px 24px;
  }

  .signup-card {
    padding: 32px 24px;
  }

  .signup-header h2 {
    font-size: 28px;
  }

  .password-requirements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .form-panel {
    padding: 24px 16px;
  }

  .signup-card {
    padding: 24px 20px;
  }

  .signup-header h2 {
    font-size: 24px;
  }

  .logo-section {
    margin-bottom: 32px;
  }
}
