.dermatologist-section {
  position: relative;
 background: linear-gradient(135deg, #dee2e6, #ced4da);
  padding: 70px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow: hidden;
}

.dermatologist-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  
}

.dermatologist-text {
  flex: 1;
  min-width: 300px;
 
}

.dermatologist-text h2 {
  font-size: 26px;
  color: #1e293b;
  margin-bottom: 20px;
}

.dermatologist-text .subtitle {
  font-size: 18px;
  color: #475569;
  margin-bottom: 16px;
}

.dermatologist-text .description {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
}

.login-form-wrapper {
  flex: 1;
  min-width: 320px;
}

.login-form {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}

.login-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: #334155;
}

.login-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 15px;
}

.login-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(to right, #3b82f6, #2563eb);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.form-links {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 14px;
}

.form-links a {
  color: #3b82f6;
  text-decoration: none;
}

.secure-note {
  margin-top: 25px;
  font-size: 13.5px;
  color: #6b7280;
  text-align: center;
}

.floating-image {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 500px;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}
/* How It Works Section */
.how-it-works {
  margin: 30px 0;
  text-align: center;
  padding: 0 20px;
}

.how-title {
  font-size: 28px;
  color: #1e293b;
  margin-bottom: 30px;
}

.how-steps {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.step {
  background-color: #fff;
  flex: 1 1 30%;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  min-width: 280px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
  background: #e0f2fe;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 18px;
  color: #334155;
  margin-bottom: 10px;
}

.step p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.5;
}

.step-icon {
  font-size: 32px;
  color: #f0f4ff;
  background-color: #004e77;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 16px;
}

@media (max-width: 1024px) {
  .dermatologist-container {
    margin-left: 0;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .dermatologist-section {
    padding: 40px 10px 60px;
  }

  .dermatologist-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .dermatologist-text,
  .login-form-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 0 15px;
  }

  .dermatologist-text h2,
  .dermatologist-text .subtitle,
  .dermatologist-text .description {
    text-align: center;
  }

  .login-form {
    padding: 20px;
    margin: 0 auto;
  }

  .floating-image {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .login-form input,
  .login-form button {
    font-size: 14px;
  }

  .form-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .secure-note {
    font-size: 13px;
  }
}
